Math

Decimal to fraction converter

Turn 0.375 into 3/8 or 0.333… into 1/3, with the simplified fraction and percentage.

Embed this calculator on your website

Copy this code and paste it into your page (WordPress, Wix, Webflow, HTML…). It's free: please keep the link to HOD Calc.

How it works

Continued fraction algorithm: we find the simplest fraction within 10⁻⁹ of the number.

Results are for guidance only and do not replace professional advice.

Worked example

With the default values:

  • Decimal number0.375

you get:

  • Fraction3/8
  • Mixed number3/8
  • Percentage37.5 %
  • Check3 ÷ 8 = 0.375

Frequently asked questions

How does the “Decimal to fraction converter” tool work?

Continued fraction algorithm: we find the simplest fraction within 10⁻⁹ of the number.

What do I need to enter?

Just fill in: decimal number. The result updates as you type.

Can you give an example?

Decimal number: 0.375 → Fraction: 3/8; Mixed number: 3/8.

Is this calculator free, and is my data private?

Yes. HOD Calc is completely free with no sign-up. The calculation runs in your browser: nothing you type is sent or stored.