Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Numbers & Maths

Fraction Simplifier

Simplify any fraction (12/18 → 2/3) or convert a decimal like 0.75 to its exact fraction (3/4). Accepts negatives, improper fractions, and mixed-note forms. The greatest common divisor used and the decimal value are shown, and an option converts improper fractions into mixed numbers. Everything runs on your device.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Three kinds of input

The box accepts a fraction written as numerator/denominator, a decimal such as 0.75 or -1.5, or a plain integer like 3. Whatever you enter is turned into a numerator and denominator, reduced by their greatest common divisor, and printed with the divisor used and the resulting decimal value in the notes. A whole-number result is printed without a denominator, so 8/4 comes out as 2 rather than 2/1.

Decimals stay exact

A decimal is converted from its own digits, not a floating-point guess: 0.75 becomes 75/100 and then 3/4, and trailing zeros are stripped first so 2.250 becomes 9/4 rather than 2250/1000. The denominator you get back is set by how many decimal places you typed, which is why the result is exact rather than an approximation of the nearest nice fraction.

Mixed numbers and negative signs

With the mixed-number option on, an improper fraction such as 9/4 is rendered as 2 1/4; with it off the same value stays 9/4. The option is presentational — it changes the printed form, never the value in the decimal column. Signs are normalised onto the numerator: -6/4 reduces to -3/2, and a negative decimal like -1.5 becomes -3/2 with a positive denominator.

Rejections, and where it runs

A zero denominator is refused outright, as is text that is not a recognisable fraction, decimal or integer, with an error naming the accepted forms rather than a silent zero. Only one value is handled at a time. The reduction is a few lines of arithmetic in this tab, with nothing sent anywhere and no history kept.

Questions

How is a decimal converted?

Exactly — 0.75 becomes 75/100, reduced by their gcd to 3/4. No lossy approximation: the digits you type determine the denominator (0.1 + 0.2 stays exact as long as the text is exact).

What do mixed numbers look like?

An improper fraction like 9/4 becomes 2 1/4 when the mixed-number option is on; otherwise it stays 9/4. The option affects output only.

Are negatives supported?

Yes — -6/4 reduces to -3/2, and a negative decimal like -1.5 becomes -3/2. The sign always lives on the numerator.

What input formats are accepted?

fractions as a/b, decimals like 0.75 or -1.5, and plain integers (3 → 3/1). A zero denominator or unparseable text is rejected with a clear error.

See category