How do you know whether to use the sample standard deviation equation or the population standard deviation equation?

If you only have a sample (a portion of the population), use the equation for the sample. Does that sound logical?

I hope this helps. Thanks for asking.