Outs × 2 is the chance on the next card; × 4 is the chance by the river.
Multiply your outs (the cards that would make your hand win) by 2 for the percentage chance on the next card, or by 4 for the chance of hitting by the river when you see two more cards. Example. With hand A♥ 7♥, flop K♥ 9♥ 2♣, a 9-out flush draw (one card from a flush) is 18% with × 2 and 36% with × 4 (35% after the correction). But use × 4 only when you are all-in on the flop and see both cards for free. Normally one call buys only one card, so use × 2.