Margin vs Markup

How should you figure out your profit? If you have an item that you are selling, should you price it at 25% over its cost to you, or should you price it so that your margin is 25%. Many people think that their profit will be the same either way. Is that true?