Arithmetic on the numbers you type
Reduce two integers to a ratio
Both numbers are divided by their greatest common divisor.
The sign stays on the number that had it.
The work stays in this tab.
This tool runs in your browser. Turn on JavaScript to use it.
Simplify a ratio
The sample is fixed. It uses the same rule as the form.
- Left
- 12
- Right
- 18
- Simplified
- 2:3
- GCD
- 6
How to use it
- 1Fill in the fields.
- 2Read the result.
- 3Copy the line you need.
Good to know
- Decimals are rejected. Use integers.
- This page does not upload the text.
- Text longer than one hundred thousand characters is rejected.
Questions
Does the result leave this browser?
No. The calculation finishes in the current tab.
What does this page leave out?
Decimals are rejected. Use integers.
What if the input is huge?
Past one hundred thousand characters, the page stops and asks you to shorten it.
Related tools
- Find the greatest common divisor and least common multiple
Both results use integer arithmetic, so a very long integer stays exact.
- Find what share one number is of another
The part is divided by the whole and shown as a percent and as a ratio.
- Convert binary, octal, decimal, and hex
255, 0xFF, and 11111111 are one integer written three ways. This page keeps that integer exact and shows the other spellings beside the field you edit.