Just think that every card has a 2% chance of coming up. 52 cards in a deck X 2 = 104...
So its like 1.9%...
Thats how odds are calculated for draws and any outs a player may have.
This of course doesnt take into account cards that are already out of the deck.
So if you have a flush draw there are 13 cards of each suit. You have 4 of them with two more cards to come. There are respectively 9 cards left. 9X2(turn,river)X2(percent chance each remaining card has to come up) = 38% chance to get your flush.
Open ended straight has 8 cards to make your straight. 8X2X2=32 percent chance...
You have a 20% chance preflop that you will make a set with pocket pair, but that doesnt mean 1/5 of the time you will get it. I think its 1:27 times you will flop the set. Then only 4% on turn, and 4% on river.