In a perfect world, whenever I need to calculate a percent, the biggest number would be on the bottom.(adsbygoogle = window.adsbygoogle || []).push({});

A=3, B=4

A/B = 3/4 = 0.75 * 100 = 75%

Wonderful - I can easily know I am 25% away from 100%.

Unfortunately, I often have the numbers swapped (A is bigger than B):

A=4, B=3

A/B = 4/3 = 1.333333 * 100 = 133%

Not wonderful - it is now 33% away from 100%

Is it possible to do one calculation to give me 25% in both scenarios?

I've toyed with many "stupid" ideas like:

abs(A-B) / ((A+B)/2)

I would even be happy to have something log/exp based rather than percent.

As long as the result could be used to compare A and B, and then also C and D, etc.

Thanks for any help and ideas.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# B Calculating Percents: A/B vs. B/A

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - Calculating Percents | Date |
---|---|

B Calculate probability of getting 2 red balls | Mar 2, 2018 |

I How to calculate the tractive effort of a train? | Feb 27, 2018 |

I Weights and interpolation -- Replicating Python code with hand calculations | Feb 16, 2018 |

I Calculation of x from log equation | Dec 4, 2017 |

Basic Percent Problem | Jun 17, 2015 |

**Physics Forums - The Fusion of Science and Community**