Skip to content
LovTools
EN

Decimal to Fraction Converter

Convert decimals — including repeating decimals — to exact fractions.

Processed locally on your device — nothing is uploaded.

About the Decimal to Fraction Converter

Type a decimal such as 0.375 and get the exact fraction 3/8 in lowest terms, plus the mixed number for values above 1. For repeating decimals, put the repeating part in brackets: 0.1(6) is 1/6 and 2.(142857) is 15/7.

The tool also finds the closest simple fraction with a denominator limit you choose — perfect for converting measurements to the nearest 1/16 or for approximations like 355/113 for π.

How to use the Decimal to Fraction Converter

  1. Enter the decimal (brackets for repeating digits).
  2. Set a maximum denominator for the approximation.
  3. Read the exact and approximate fractions.

Features

  • Goal seek: type the answer you want and the tool works out the input that gives it
  • Exact simplified fraction
  • Repeating decimals
  • Mixed numbers
  • Best approximation by denominator

Supported formats

  • Numbers

Frequently asked questions

How do I write 0.333…?

Enter 0.(3). The result is exactly 1/3.

Are my numbers saved?

No. Calculations happen in your browser and nothing you enter is sent anywhere or stored.

Added · Last reviewed · Maintained by Sohail Khax · How we test tools