Toolnova
Calculators

Decimal to Fraction Converter

Convert any decimal to a simplified fraction — or flip it to convert a fraction to its decimal form. Includes the mixed-number representation and runs entirely in your browser for free.

  • 100% free
  • No signup
  • Private — in your browser
  • No watermark
Live tool · runs in your browser
Highlights

Why use Decimal to Fraction Converter?

  • Two-way conversion: decimal to fraction and fraction to decimal
  • Results fully simplified using the Euclidean GCD algorithm
  • Shows simplified fraction, mixed number and decimal check side by side
  • Handles negative values and flags division-by-zero errors gracefully
Overview

About Decimal to Fraction Converter

Decimals and fractions represent the same values in different ways, and switching between them is a common task in cooking, construction, academic maths and everyday arithmetic. This two-way converter turns a terminating decimal like 0.75 into the reduced fraction 3/4 and the mixed number 3/4 (or 1 3/4 for values greater than 1) instantly, using the standard technique of multiplying by the appropriate power of 10 and then dividing by the GCD.

Flip to the "Fraction → Decimal" mode to do the reverse: enter any numerator and denominator and get the decimal equivalent, with a note indicating whether the result terminates or repeats. Negative numbers are handled correctly in both directions, and a zero-denominator error is flagged before it can cause confusion.

Step by step

How to use Decimal to Fraction Converter

  1. 1

    Choose a direction

    Toggle between "Decimal → Fraction" and "Fraction → Decimal" using the buttons at the top.

  2. 2

    Enter your value

    In decimal mode, type any decimal number. In fraction mode, enter the numerator and denominator in the two boxes.

  3. 3

    Read the result

    The converted value appears instantly — as a simplified fraction and mixed number in decimal mode, or as a decimal in fraction mode.

FAQ

Frequently asked questions

How does the decimal-to-fraction conversion work?

The tool counts the decimal places, multiplies the decimal by 10 raised to that power to get a whole-number fraction, then divides both numerator and denominator by their GCD to simplify it.

Can I convert repeating decimals?

The tool converts the exact digits you enter. If you type 0.3333 it gives 3333/10000 ≈ 1/3, not the exact 1/3. For repeating decimals, use the "Fraction → Decimal" direction instead (e.g. 1 / 3).

What is a mixed number?

A mixed number combines a whole-number part and a fractional part — for example, 7/4 = 1 3/4. It is often more intuitive for measurements like 1 3/4 cups of flour.

Does it handle negative decimals?

Yes. Enter a negative decimal like −1.25 and the tool returns −5/4 (simplified) and the mixed number −1 1/4.

Related calculators

See all calculators

Browse more free tools

Explore every category in our toolbox.