Solved

how to get the percent of two value

Posted on 2007-11-22
9
4,288 Views
Last Modified: 2012-08-14
Hello guys,

I used to know how to do this, but I don't remember anymore after a long time without using it.

I have two value:

A=100,35
B=127,78

I would like to know what is the percent between A and B. How is the formula to get the percent.

Thanks


0
Comment
Question by:hidrau
  • 4
  • 3
  • 2
9 Comments
 
LVL 53

Expert Comment

by:Infinity08
Comment Utility
If you want to know how much A is compared to B, expressed as a percentage, then just do :

        (A / B) * 100

or for your example : A is 78,53 % of B
0
 
LVL 1

Author Comment

by:hidrau
Comment Utility
A is the cost of my product and B is the price to sale

then this count is true? because if I do 78,53 on A I will have a value different from B

0
 
LVL 84

Expert Comment

by:ozo
Comment Utility
WHat do you mean by "between"
A is A * 100 / B % of B
B is B * 100 / A % of A
A is (A-B)*100/B % less than B
B is (B-A)*100/A % more than A
0
 
LVL 53

Expert Comment

by:Infinity08
Comment Utility
No A is 78,53 % of B, so the cost is 78,53 % of the price.

If you want the inverse, then you use this formula :

        (B / A) * 100

which gives that the price is 127,33 % of the cost.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Author Comment

by:hidrau
Comment Utility
I need to get the percent of profit between my cost and value of sale

If I have A = 100 and add 30%  I will have 130
If I have A = 100 and the value of sale in 130 I must have 30% as percent.

0
 
LVL 53

Expert Comment

by:Infinity08
Comment Utility
Then use :

        ((B - A) / A) * 100

So, for your earlier example

        ((127,78 - 100,35) / 100,35) * 100 = 27,33 %
0
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
Comment Utility
B is (B-A)*100/A % more than A
0
 
LVL 1

Author Closing Comment

by:hidrau
Comment Utility
thanks
0
 
LVL 53

Expert Comment

by:Infinity08
Comment Utility
So, what I posted didn't help you ?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Nicole
This is a research brief on the potential colonization of humans on Mars.
Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now