Calculate what Percentage was used based on Net and Gross Values

It’s rare that I write a post unrelated to programming. There’s a first time for everything however and today I thought I’d share a quick little mathematical tip.

I recently faced a scenario where I had two figures; a net total and a gross total. What I didn’t have was the percentage applied to the net to get the gross value. Allow me to reveal how to acehive this:

The Calculation:

Percentage = (Gross - Net) / Net * 100

Example:

Percentage = (120 - 100) / 100 * 100 = 20%
This entry was posted on 12 months ago at 12 months ago by Steve Marks+ and is filed under Web Development. You can follow any responses to this entry through the RSS 2.0 feed.
C'mon. Say Something...

Fear not, we won't publish this
Comments (0)

No comments have been left yet. Be the first