So from that, lets say he bets 50$ to make the pot 150$ or so, and you push all in for 150$

35% of the time you can win the pot with a fold

if he does call however, you have a 30% chance to win (given a range of hands)

so (.35*150$)+(.30*400$)-(.35*150$)=a positive number which would mean a good push because you will make your money a fair share of the time?

I have question, like I used 400$ for if he calls the allin, do I use that number, or only the amount of money in the pot that he put in there?

Also, if my math is wrong, which I'm sure it is, please correct me, I'm really trying to learn the theory of poker