Make S the subject for; F - S D = ----- x 100 S
I assume you are starting with this: Multiply both sides by S, and rearrange: