About this ratio calculator
Reduce a pair of nonnegative integers to its simplest ratio. The greatest common divisor divides both sides. A zero side is allowed as long as the other side is positive. Use this workspace to prepare a result you can review before putting it to use. All processing takes place on your device, without an account or an upload of your inputs. Check the examples to understand the expected output, read the limitations for the supported scope, and reset the form when you want to start a separate task.
How it works
The greatest common divisor divides both sides. A zero side is allowed as long as the other side is positive.
Try these examples
12 : 18
2:3
0 : 5
0:1
Limitations & privacy
Use whole numbers from 0 to 1 billion. This tool simplifies ratios only; it does not solve proportions or accept fractions and negative values.
Inputs and results stay in this browser. Only tool identifiers are stored for your recently used tools. You can clear that history from the directory.
A few good questions
How is the result produced?
The greatest common divisor divides both sides. A zero side is allowed as long as the other side is positive.
Are my inputs sent to a server?
No. Inputs and results are processed locally and are not uploaded or included in telemetry. Copying or downloading is your choice.
What are the limits of this tool?
Use whole numbers from 0 to 1 billion. This tool simplifies ratios only; it does not solve proportions or accept fractions and negative values.
Updated September 19, 2026