Arbitrary Precision Calculator

Arbitrary Precision Calculator

bc is a language that supports arbitrary precision numbers with interactive execution of statements. There are some similarities in the syntax to the C programming language. This tool can help you use bc to do the math on a single web page without installing any programs on your device.

Arbitrary Precision Calculator

Result

Your result will appear here.

How to use

Enter an expression to get a numerical result that you can inspect and copy.

  1. Enter an expression using the calculator's syntax and choose the required options.
  2. Select Run, then inspect the result or use the error message to adjust the expression.

Common questions

Why does the result have fewer decimal places than expected?

Check the decimal-place setting first. Some calculations cut off extra digits instead of rounding. Increase the setting and calculate again if you need more decimal places.