What is a decimal to ratio calculator?
A decimal to ratio calculator turns a single decimal number into a ratio of two whole numbers written as . A ratio compares two quantities, and many everyday decimals — odds, mixing proportions, aspect dimensions, gear teeth counts — are easier to read and reason about when expressed as a clean pair of integers rather than a long decimal.
For example, the decimal describes the same relationship as the ratio : for every 3 parts of one quantity there are 4 parts of the whole. The calculator does the arithmetic and the simplification for you, returning the smallest possible whole-number terms.
How does it work?
A finite decimal is just a fraction whose denominator is a power of ten. The calculator follows three steps:
- Read the decimal as a fraction over a fixed power of ten (the denominator).
- Compute the greatest common divisor (GCD) of the numerator and denominator.
- Divide both terms by the GCD so the ratio is fully reduced.
The reduced numerator becomes the first term (the antecedent) and the reduced denominator becomes the second term (the consequent).
Formula
For a decimal with denominator (a power of ten large enough to clear the decimal places):
The result is the ratio . A negative decimal keeps its sign on the first term, for example .
Examples
-
Convert :
- Over this is .
- , so dividing gives .
- Ratio: .
-
Convert :
- Over this is .
- , so dividing gives .
- Ratio: .
-
Convert :
- Over this is .
- , so dividing gives .
- Ratio: .
-
Convert :
- Over this is .
- , so dividing gives .
- Ratio: .
Practical notes
- The ratio is always returned in lowest terms, so and both give .
- A ratio such as is greater than one; this simply means the first quantity is larger than the second.
- If you need the result as a fraction instead, the ratio is the same as the fraction — see the decimal to fraction calculator or convert a ratio back with the ratio to fraction calculator.
FAQs
What does “reduced ratio” mean?
A reduced ratio uses the smallest whole numbers that preserve the same proportion. The terms share no common factor other than 1, which is why is shown as rather than .
Can it handle numbers greater than one?
Yes. Decimals above one, like , produce ratios where the first term is larger than the second, such as .
How are negative decimals handled?
The sign is attached to the first term of the ratio. For instance, becomes .