Simplest integer ratio
Clear decimal denominators and reduce both terms by their greatest common divisor.
This online ratio calculator simplifies two-term ratios, generates equivalent ratios, solves one missing proportion value and divides a total into proportional shares. Enter nonnegative integer or decimal terms and follow the exact arithmetic.
Results update as you edit. Use comparable numbers in the same unit and review the denominator convention.
Read the result together with the breakdown and calculation assumptions below.
Exact fractions and ratios use integer arithmetic. Decimal approximations use up to 12 places or significant digits; very small approximations may round to zero.
A ratio compares quantities by their relative sizes. This online ratio calculator keeps simplification, equivalent scaling, missing-value proportions and allocation as distinct modes. Decimal terms are converted to exact rational values before reducing or splitting a total.
Use the result as a transparent mathematical estimate. The calculation method, input conventions and limitations are explained below so you can compare scenarios with the same assumptions.
Follow four steps to enter consistent inputs, read the estimate and understand the result.
Choose simplification, equivalent scaling, a missing-value proportion or division of a total.
Enter nonnegative ratio terms in a consistent unit; in proportion mode use exactly one question mark.
Provide a positive scale factor or nonnegative total where the selected mode asks for it.
Review the simplified integer ratio, equivalent terms or exact shares with the calculation steps.
Explore the inputs, breakdowns and supported options available in this calculator.
Clear decimal denominators and reduce both terms by their greatest common divisor.
Multiply both original terms by a positive factor without changing their proportion.
Solve one unknown in A:B = C:D using cross-multiplication.
Divide a nonnegative total into two exact weighted shares.
Accept plain decimal terms without converting them through binary floating point.
Allow a one-zero ratio while rejecting 0:0 and invalid proportion denominators.
A ratio compares quantities without automatically converting them into a percentage or choosing financial qualifying rules. Use this general tool for proportions and allocation. For monthly debt payments relative to gross income, follow the related Debt-to-Income Ratio Calculator link.
Simplifying a ratio and allocating a total use the same weights but produce different outputs.
Check that scaling both terms leaves the simplest ratio unchanged.
Verify the exact shares sum to the original amount before display rounding.
Use the dedicated DTI link when the inputs are monthly debt and gross income.
Check these definitions and conventions when entering values or comparing estimates.
| Input or Result | Meaning | Main Consideration |
|---|---|---|
| Ratio terms | Nonnegative relative quantities | At least one term must be positive. |
| Proportion unknown | Exactly one question mark among four terms | B and D must be positive after solving. |
| Scale factor | A positive multiplier applied to both terms | Zero destroys the ratio and negative factors are excluded. |
| Allocated total | Amount divided by the relative weights | Exact fractions can be more precise than rounded decimal shares. |
Compare the same ordered terms and calculation mode. Equivalent ratios scale both terms by the same positive factor; proportional shares use each term divided by the sum of the terms.
Use a concrete example and focused comparisons to connect the inputs with the outputs.
12:18 simplifies to 2:3. Scaling the original terms by 3 gives 36:54. In 12:18 = 2:D, D = 18 × 2/12 = 3. Dividing 100 in a 12:18 ratio gives 100 × 12/30 = 40 and 100 × 18/30 = 60.
0.5:1.25 becomes 2:5 after clearing denominators and reducing.
For 3:4 = 6:?, cross-multiplication gives D = 4 × 6/3 = 8.
A 2:3 split of 250 gives 100 and 150, with exact shares totaling 250.
Read the calculation method alongside its units, precision and input conventions.
A:B reduces by clearing decimal denominators and dividing by gcd. Equivalent ratio = (kA):(kB), k > 0. A:B = C:D means AD = BC with B,D > 0. Shares of T are TA/(A+B) and TB/(A+B).
Decimal terms are parsed as exact rational numbers. Clearing denominators produces integer terms, which are reduced by their greatest common divisor. Scaling multiplies both original terms, preserving their proportion. Missing values are solved by cross-multiplication with nonzero proportion denominators. Dividing a total uses each term as a weight, and exact shares are retained separately from rounded decimal output.
Ratio terms and allocated totals must be nonnegative. A one-zero ratio such as 0:5 reduces to 0:1; 0:0 cannot define a ratio or allocation.
In proportion mode, exactly one term must be ?. B and D are strictly positive in A/B = C/D. Zero terms that leave the unknown non-unique or create a zero denominator are rejected.
Scaling requires a positive factor. Rounded decimal allocations can differ from the original total by a rounding unit; the exact fractions add up precisely.
Fraction and decimal inputs use exact BigInt rational arithmetic. Plain decimal or integer terms support up to 60 digits; exponent notation and grouping commas are excluded. Exact intermediate results are limited to 500 digits. Decimal conversions round to 12 places and are approximations.
Calculations run locally in your browser. The calculator does not send your entered values to a calculation server or store them between visits.
Results describe the stated mathematical relationship. Choose a denominator appropriate to your question, review signed-value conventions and use unrounded values when checking the arithmetic.
Practical answers about the inputs, calculation method and limitations of this estimate.
Yes. For 0.5:1.25 the tool clears decimal denominators and reduces the resulting integers to 2:5.
Choose Equivalent ratio / scale and multiply both original terms by a positive factor. For 2:3 and factor 4, the output is 8:12; both reduce to the same proportion.
Choose the proportion mode and enter exactly one ? among A, B, C and D. The calculator uses AD = BC, while requiring nonzero B and D.
One zero term can describe a valid two-term ratio or allocation. Both zero terms cannot define shares. Proportions impose the additional rule that their denominators B and D must be positive.
No. That dedicated tool compares qualifying monthly debts with gross monthly income and explains the financial inputs. Use its Related Tools link for that question; this page handles general ratios.