Calculating Percentage

I need to often be reminded of how to calculate a percentage.  The context here is that I want a progress bar in one of my programs.


To determine what percent a number is of a total number:
copyraw
(Progress So Far / Total Progress Units) * 100 = %
or
(Net Amount / Gross Amount) * 100 = %

eg. (12 steps / 30 steps) * 100 = 40%   ie. 12 steps of 30 is 40% progress
eg. ($8 / $10) * 100 = 80%              ie. $8 of $10 is 80%
  1.  (Progress So Far / Total Progress Units) * 100 = 
  2.  or 
  3.  (Net Amount / Gross Amount) * 100 = 
  4.   
  5.  eg. (12 steps / 30 steps) * 100 = 40%   ie. 12 steps of 30 is 40% progress 
  6.  eg. ($8 / $10) * 100 = 80%              ie. $8 of $10 is 80

To determine the percent (adjustment level) given the RRP and the price you're selling at:
copyraw
((Agreed Price - Usual Price) * 100) / Usual Price = %

eg. ($10 - $8) * 100 / $8 = +25%       ie. selling an $8 product at $10 is an increase of 25%
eg. ($8 - $10) * 100 / $10 = -20%      ie. selling a product at $8 when it usually costs $10 is a discount of 20%
eg. ($7,562.50 - $8,281.80) * 100 / $8,281.80 = -8.69%
  1.  ((Agreed Price - Usual Price) * 100) / Usual Price = 
  2.   
  3.  eg. ($10 - $8) * 100 / $8 = +25%       ie. selling an $8 product at $10 is an increase of 25
  4.  eg. ($8 - $10) * 100 / $10 = -20%      ie. selling a product at $8 when it usually costs $10 is a discount of 20
  5.  eg. ($7,562.50 - $8,281.80) * 100 / $8,281.80 = -8.69

To determine the amount given the percentage and total amount:
copyraw
(Discount / 100) * Usual Price = Discounted Price

eg. (20 / 100) * $80 = $16       ie. 20% of $80 is $16
  1.  (Discount / 100) * Usual Price = Discounted Price 
  2.   
  3.  eg. (20 / 100) * $80 = $16       ie. 20% of $80 is $16 

To determine the percent given two percentages:
copyraw
((Percentage 1 / 100) * (Percentage 2 / 100)) * 100 = %

eg. (50/100) * (40/100) = 0.5 x 0.4 = 0.2 * 100 = +20%       ie. 50% of a 40% sale is 20%
  1.  ((Percentage 1 / 100) * (Percentage 2 / 100)) * 100 = 
  2.   
  3.  eg. (50/100) * (40/100) = 0.5 x 0.4 = 0.2 * 100 = +20%       ie. 50% of a 40% sale is 20

Opportunities won vs opportunities lost:
copyraw
Percentage = Won / (Won + Lost) * 100

eg. 50% = 1 / (1 + 1) * 100
  1.  Percentage = Won / (Won + Lost) * 100 
  2.   
  3.  eg. 50% = 1 / (1 + 1) * 100 

Opportunities won vs total:
copyraw
Total = Won + Lost + Other
Percentage = Won / Total * 100

eg. 33.33% = 1 / (1 + 1 + 1) * 100
  1.  Total = Won + Lost + Other 
  2.  Percentage = Won / Total * 100 
  3.   
  4.  eg. 33.33% = 1 / (1 + 1 + 1) * 100 

Markup Margin Percentage:
copyraw
( Sell - Cost ) / Cost * 100 = Markup Percent

eg. ( 75 - 50 ) / 50 * 100 = 50%
  1.  ( Sell - Cost ) / Cost * 100 = Markup Percent 
  2.   
  3.  eg. ( 75 - 50 ) / 50 * 100 = 50

Gross Margin Percentage:
copyraw
( Sell - Cost ) = Gross Profit
( Sell - Cost ) / Sell * 100 = Gross Margin Percent

eg. ( 75 - 50 ) / 75 * 100 = 33.33%
  1.  ( Sell - Cost ) = Gross Profit 
  2.  ( Sell - Cost ) / Sell * 100 = Gross Margin Percent 
  3.   
  4.  eg. ( 75 - 50 ) / 75 * 100 = 33.33

Category: eCommerce Systems :: Article: 268

Credit where Credit is Due:


Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.

Disclaimer: Please note that the information provided on this website is intended for informational purposes only and does not represent a warranty. The opinions expressed are those of the author only. We recommend testing any solutions in a development environment before implementing them in production. The articles are based on our good faith efforts and were current at the time of writing, reflecting our practical experience in a commercial setting.

Thank you for visiting and, as always, we hope this website was of some use to you!

Kind Regards,

Joel Lipman
www.joellipman.com

Related Articles

Joes Revolver Map

Accreditation

Badge - Certified Zoho Creator Associate
Badge - Certified Zoho Creator Associate

Donate & Support

If you like my content, and would like to support this sharing site, feel free to donate using a method below:

Paypal:
Donate to Joel Lipman via PayPal

Bitcoin:
Donate to Joel Lipman with Bitcoin bc1qf6elrdxc968h0k673l2djc9wrpazhqtxw8qqp4

Ethereum:
Donate to Joel Lipman with Ethereum 0xb038962F3809b425D661EF5D22294Cf45E02FebF
© 2024 Joel Lipman .com. All Rights Reserved.