About this tool
The ratio calculator reduces a ratio of two integers to lowest terms or solves a proportion with one unknown value. Students, cooks, model builders, and anyone resizing a mix or a drawing use it to keep quantities in the same relationship. A ratio compares two quantities by division, and a proportion is a statement that two ratios are equal, such as .
How it works
Choose Simplify ratio to reduce a ratio such as 12:18, or Solve one missing value to complete . In simplify mode, enter two whole numbers in A and B; the tool divides both by their greatest common divisor and moves any minus sign to the first term.
In the solve mode, fill in three of the four fields and leave the unknown one empty. The calculator cross-multiplies and divides by the remaining known term, so it works wherever the gap is. This mode also accepts decimals, which helps with scale drawings, mixing ratios and unit conversions.
Example
With the default inputs and in simplify mode, the result is 2:3, because the greatest common divisor of 2 and 3 is 1 and the ratio is already in lowest terms. Entering 12 and 18 also gives 2:3, since both divide by 6. Switch to solve mode with , and D left blank: cross-multiplying gives , so the missing value is 6, and 2:3 equals 4:6.
Assumptions and limits
Simplify mode accepts whole numbers only, positive or negative, up to 30 digits; it does not reduce decimal or three-part ratios. Solve mode needs exactly one blank field, and B and D cannot be zero. The missing value is shown as a decimal, not as a fraction.
Frequently asked questions
How do you simplify a ratio?
Divide both terms by their greatest common divisor. For 12:18 the greatest common divisor is 6, so the ratio simplifies to 2:3. If the greatest common divisor is 1, the ratio is already in lowest terms. Simplifying changes the size of the numbers, not the relationship between them.
How do you solve a proportion with one missing number?
Cross-multiply and divide. In , the products and are equal, so the unknown equals the product of the two terms diagonal to each other divided by the remaining known term. For , . Leave the unknown field blank in solve mode and the tool does this for you.
Is a ratio the same as a fraction?
They are closely related. The ratio 2:3 can be written as the fraction 2/3, but a ratio describes the relationship between two quantities, while a fraction usually describes a part of one whole. A ratio can also compare more than two quantities, such as a 1:2:3 mix, which a single fraction cannot express.
How do I simplify a ratio with decimals?
Multiply both terms by the same power of ten until they are whole numbers, then reduce. For 1.5:2.5, multiplying by 10 gives 15:25, which simplifies to 3:5. Simplify mode accepts whole numbers only, so do the multiplication first and then enter 15 and 25.
How do I split an amount in a given ratio?
Add the parts of the ratio, divide the amount by that total and multiply by each part. To split 150 in the ratio 2:3, there are 5 parts of 30 each, so the shares are 60 and 90. You can check the result in solve mode, since 2/3 equals 60/90.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
modeRatio operation | one of: simplify, proportion | default simplify |
aA | decimal number, kept exactly as written | optional |
bB | decimal number, kept exactly as written | optional |
cC | decimal number, kept exactly as written; used with mode = proportion | optional |
dD | decimal number, kept exactly as written; used with mode = proportion | optional |
Examples
?a=1920&b=1080?a=3&b=4&c=9?b=5&c=12&d=20
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="ratio_calculator"]