This question already has an answer here:
In Texas Hold'Em, after the flop, let's say you are holding two spades, and the flop comes out with two spades. Now you have a flush draw.
How many people need to call your bet in order for there to be the correct odds for the bet to be statistically worthwhile?
To keep things simple and remove variables, let's assume no one will be folding and no one will be re-raising.