Ratio Calculator
Simplify a ratio of two positive integer or decimal terms exactly, with up to 6 decimal places, and see each term’s share of the total.
Input
The example value has been entered. Check it immediately or change the value.
Input is processed in the browser. Refreshing returns a sample value.
Result
Check or change the value using the example value result.
Calculation steps
Each term must be from 0.000001 to 1,000,000,000, with up to 6 decimal places. Zero, negative values, exponent notation and ratios with three or more terms are not supported.
Share result
Share the tool link and result text together. No URL is included in the result. Check the below content and then share it.
Calculation·conversion criteria
Reduce a ratio of two integer or decimal terms to its simplest integer ratio.
Input example
1.5:2.5 = 3:5; 1920:1080 = 16:9
For 1.5:2.5, multiply both terms by 10 to get 15:25, then divide by the GCD 5 to get 3:5. For 0.125:0.25, multiply both terms by 1,000 to get 125:250, then divide by 125 to get 1:2. Each share uses the original values; the first term is 37.5% of 1.5:2.5.
How to use
- Calculate the example as entered or change the two ratio terms.
- Click Verify result and check the following result.
- Result can be copied if needed.
Frequently asked questions
Can I enter a ratio with decimals directly?
Yes. Enter 1.5:2.5 as is; the calculator multiplies both terms by 10 to get 15:25, then simplifies it to 3:5. Each term can range from 0.000001 to 1,000,000,000 and have up to 6 decimal places.
How are 16:9 and 64% different?
16:9 compares the first term with the second. The first term’s share of the total is 16 ÷ (16 + 9) × 100 = 64%, and the second term’s share is 36%.
Are zero, negative values, exponent notation or three or more terms supported?
Enter two positive terms from 0.000001 to 1,000,000,000. Zero, negative values, exponent notation and ratios with three or more terms are not supported. Each term accepts up to 6 decimal places.
Calculation criteria and reference materials
The calculation formula and scope of this tool are disclosed in the above description. Examples can be checked by substituting input values into the formula or following the specified string and calendar handling rules.
Verification of calculation criteria: · Calculation·verification principles · Report errors