Follow the pot from 11 to 101
Six players, blinds 1/2, no ante or fees in this example. You are on the button with A♠ Q♠. Everyone before you folds, you raise to 5, the small blind folds and the big blind calls. The pot is 11: 5 + 5 + the folded small blind’s 1.
On Q♦ 8♠ 3♥ you bet 6 after a check and receive a call: 23 in the pot. The turn is 2♠; bet 14 and call make 51. The river 7♣ misses your flush; bet 25 and call make 101. Against Q♥ J♦, your queens with an ace kicker beat queens with a jack. These bets illustrate accounting, not an instruction to bet every top pair.