Calculate what Percentage was used based on Net and Gross Values

May 22nd, 2012 - Posted by Steve Marks to Web Development.

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 Tuesday, May 22nd, 2012 at 9:11 pm by +Steve Marks and is filed under Web Development. You can follow any responses to this entry through the RSS 2.0 feed.
Comments...

Fear not, we won't publish this

Comments (0)

No comments have been left yet. Be the first