In line with the above suggestions, the following blog on Tumblr provides math-based bet sizing theory using applicable EV equations.
https://holdemmathology.tumblr.com/p...-sizing-theory
Here is the blog part where you consider villain pot odds.
Case 1a. You have equity > 50%; you bet
You hold AA and you are pretty certain villain has a lower pair; this is normally an 80/20 advantage for you. You believe villain will call if the pot odds are likely to be favorable; otherwise he will fold. The pot is 90; how much should you bet?
The break-even bet size for call vs. fold is based on setting the applicable hero EV equation to Pot, hero’s profit if villain folds. It is as follows
Bet > Pot*(1-eq ) / (2*eq-1) = 90*0.20/(2*0.80-1) = 18/0.6 = 30,
which is 1/3 x Pot.
Here we see that villain’s odds against are 80/20 = 4 to 1 and a bet of 30 gives him pot odds of 120/30 or 4 to 1. So, any bet larger than 30 is denying him proper odds. Since you want a call, your bet size should be the largest amount over 30 that you believe villain will call.
Naturally, there are other considerations, especially if there are more betting streets, but this kind of analysis gives you an initial cut at sizing a bet.