Why two modes?
Simplifying and solving are distinct tasks that get conflated in most online tools. Splitting them keeps each form minimal and labels exactly which term is unknown, so there is no ambiguity about what the calculator is computing.
Simplify a ratio or solve a proportion. The formula shows alongside the answer.
Ratios compare two quantities — flour to water in a recipe, parts of paint in a mix, students to teachers, map scale to real distance. The two modes below cover the everyday ratio questions: reducing a ratio to its lowest whole-number terms, and finding the missing value in a proportion where three of the four terms are known. Every calculation runs in your browser and the formula is shown underneath so you can verify by hand.
Reduce a ratio to its lowest terms and show the decimal
10 : 15 = 2 : 3 · 10 ÷ 15 = 0.666667
Tabs across the top: "Simplify a:b" reduces a ratio to lowest terms, "Solve a:b = c:?" finds the missing fourth term of a proportion. Pick the one that matches your question.
The result and the formula update as you type. There is no submit button.
The big tinted value is the answer. The mono-spaced line under it shows exactly how the answer was computed, including the decimal form of the ratio.
| Question | Inputs | Answer |
|---|---|---|
| Simplify 10:15 | 10, 15 | 2 : 3 |
| Simplify 8:4 | 8, 4 | 2 : 1 |
| Solve 1:2 = 3:? | 1, 2, 3 | 6 |
| Solve 2:3 = 10:? | 2, 3, 10 | 15 |
Simplifying and solving are distinct tasks that get conflated in most online tools. Splitting them keeps each form minimal and labels exactly which term is unknown, so there is no ambiguity about what the calculator is computing.
Ratios are reduced with the Euclidean algorithm for the greatest common divisor, the same method taught in school and used throughout computer science. Decimal inputs are first scaled by the smallest power of ten that makes both terms integers, so the result is always a clean whole-number ratio.
Decimal results display with up to six decimal places, with trailing zeros trimmed. The raw IEEE 754 double is used for the underlying computation, so the displayed digits are exactly what JavaScript would produce for the same operation.
Authoritative references behind the math, constants, and tables on this page. Verified by Buğra Sözeri on the dates shown and re-checked at every deploy.