Maybe this is easier:

What you sold it for, minus what you bought it for, divided by what you BOUGHT it for, then times 100