Decimal to fraction calculator

Converts a finite decimal string exactly, including a leading minus sign.

Your inputs

Input format

Use this format with your own values:

0.125

Use the units shown.

Exact fraction
1/8

Your calculation
How is this calculated?

Converts a finite decimal string exactly, including a leading minus sign. Repeating-decimal notation is not accepted.

Try an example

Worked example

Exact fraction: 1/8

Inputs
  • Finite decimal: 0.125

Compare inputs

Exact fraction: -3/8

Inputs
  • Finite decimal: -0.375
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.