Decimal to fraction converter

Write a terminating decimal as a reduced fraction.

Numbers Stateless

Use a decimal point for fractional values.

Quick guide

Try an example

You enter

Number
-0.125

You get

-1/8
How it works & limits

Use a decimal point. The numerator and denominator are reduced exactly, with a positive denominator.

Related tool

Exact fraction calculator