Small tasks, made easier. MiniKit is now live.Explore

Decimal to fraction converter

Convert a terminating decimal to an exact simplified fraction locally, without rounding.

How to use

  1. Decimal number
  2. Convert
  3. Copy result

Convert a terminating decimal representation to an exact fraction

Enter ASCII digits 0–9 with an optional leading + or -. A dot or comma is a decimal separator: 0.125 and 0,125 both give 1/8. A comma never groups thousands; for example, 1,000 is interpreted as 1. .5 and ,5 are accepted, as are integers. The integer part and fractional part each allow at most 12 digits. Raw input must not exceed 64 characters before leading/trailing whitespace is trimmed. Scientific/exponential notation, thousands separators, a trailing dot/comma, fraction notation and repeating decimals are unsupported. BigInt arithmetic converts the terminating decimal exactly and reduces it by the greatest common divisor, without approximation or rounding. 0.333 is exactly 333/1000, not the infinitely repeating 0.333… or 1/3. The denominator is positive; -1.25 gives -5/4. Integer results omit the fraction bar, and zero is shown as 0. Conversion preserves the entered text; copy the result as needed. Clear restores the default input 0.125 and removes the result and copyable output. The Fraction calculator requires integer numerators/denominators; this tool directly converts decimal input to a fraction. Processing is local in your browser; input and results are not sent to a server.

Explore tools
Works instantly
Privacy comes first
Free and simple
New tools every week
✳YOUR TOOLKIT

Tools that get it done.
Nothing you don’t need.

97 tools ready
FREE

Decimal to fraction converter

Convert a terminating decimal to an exact simplified fraction locally, without rounding.

ASCII digits; optional +/−. Up to 12 integer and 12 decimal digits; 64 raw input characters. Use a dot or comma as the decimal separator, not for thousands. No exponents or repeating decimals.
Your text never leaves your device
Explore tools
✳LESS FUSS, MORE DONE

Focus on your task,
not finding a tool.

You don’t need a different website for every little task. MiniKit brings the practical tools you use most together in one clear, easy place.

Explore the tools
01

Actually fast

Open it, do the thing, move on. No downloads, sign-up forms or waiting.

02

Privacy first

Your files and text stay on your device. We don’t store your data.

03

Simple for everyone

No confusing menus. What you need is right where it should be.

PRIVATE BY DESIGN

Your files get the job
done without passing through us.

Your images, text, QR contents and calculations are processed in your browser. Read our privacy policy for details about hosting, local storage and the current advertising status.

PRIVACY FIRST
✳

Make your next little task
a little easier.

Try your first tool now. Free, no account, no fuss.

Let’s get started
✳

Example

0.125
1/8

Frequently asked questions

Is my input sent to a server?

Your images, text, QR contents and calculations are processed in your browser. Read our privacy policy for details about hosting, local storage and the current advertising status.

Is this tool free?

No account needed · Always free