Engineering ToolBox - Resources, Tools and Basic Information for Engineering and Design of Technical Applications!

Scientific Calculator

Online scientific calculator.

In the display window of the calculator below you write the complete mathematical expressions before calculation. This feature is very handy, especially when working with long complicated formulas. The values and expressions can be typed by using either keyboard or calculator buttons and the expressions can be reused and modified by accessing the history tab.

Note! - use radians for trigonometric functions.

Note that the calculator relies on the syntax of javascript. The constants and the syntax for the mathematical functions are explained below.


  • ans : the last calculated result
  • PI : pi = 3.14159265...
  • E : e = 2.71828182...
  • LOG2E : log of e base 2
  • LOG10E : log of e base 10
  • LN2 : log of 2 base e
  • LN10 : log of 10 base e
  • SQRT2 : square root of 2
  • SQRT1_2 : square root of 1/2


  • abs(a) : the absolute value of a
  • acos(a) : arc cosine of a
  • asin(a) : arc sine of a
  • atan(a) : arc tangent of a
  • atan2(a,b) : arc tangent of a/b
  • ceil(a) : integer closest to a and not less than a
  • cos(a) : cosine of a
  • exp(a) : exponent of a
  • floor(a) : integer closest to and not greater than a
  • log(a) : log of a base e
  • max(a,b) : the maximum of a and b
  • min(a,b) : the minimum of a and b
  • pow(a,b) : a to the power b
  • random() : pseudorandom number in the range 0 to 1
  • round(a) : integer closest to a
  • sin(a) : sine of a
  • sqrt(a) : square root of a
  • tan(a) : tangent of a


Some simple expressions:

  • 23 = pow(2,3) = 8
  • log(3) = 1.099
  • 2 * (3 + 2) = 10

A more complicated formula for calculating the pressure drop in compressed air pipe lines (using same values as the link)

  • dp = 7.57 q1.85 L 104 / d5 p = 7.57 * pow(10,1.85) * 100e4 / (pow(52.501,5) * 7) = 0.19

Note that the expressions can be written in any editor and transferred to the calculator display by using "copy and paste".

scientific calculator


This calculator can handle input numbers in several different bases:

  • Decimal (Base 10): Numbers that do not start with a zero like 15 or 3.14e15. Decimal numbers can contain digits 0-9, decimals, and scientific notation.
  • Hexadecimal (Base 16): Integers that start with a zero x like 0x1a5. Hexadecimal numbers can contain digits 0-9 and a-f (or A-F) but no decimal or scientific notation.
  • Octal (Base 8): Integers that start with a zero like 073. Octal numbers can contain digits 0-7 but no decimal or scientific notation.
  • Binary (Base 2): Integers that start with a zero b like 0b101. Binary numbers can contain digits 0 and 1 but no decimal or scientific notation.

^ is a bitwise xor operation. To raise a number to a power use pow() function.


to for providing this calculator under the terms of the GNU General Public License as quoted below:

"This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Related Topics

  • Mathematics

    Mathematical rules and laws - numbers, areas, volumes, exponents, trigonometric functions and more.

Related Documents


Search is the most efficient way to navigate the Engineering ToolBox.

Engineering ToolBox - SketchUp Extension - Online 3D modeling!

3D Engineering ToolBox Extension to SketchUp - add parametric components to your SketchUp model

Add standard and customized parametric components - like flange beams, lumbers, piping, stairs and more - to your Sketchup model with the Engineering ToolBox - SketchUp Extension - enabled for use with older versions of the amazing SketchUp Make and the newer "up to date" SketchUp Pro . Add the Engineering ToolBox extension to your SketchUp Make/Pro from the Extension Warehouse !

Translate this Page

Translate this page to Your Own Language .

About the Engineering ToolBox!

Privacy Policy

We don't collect information from our users. More about

We use a third-party to provide monetization technologies for our site. You can review their privacy and cookie policy here.

You can change your privacy settings by clicking the following button: .


This page can be cited as

  • The Engineering ToolBox (2008). Scientific Calculator. [online] Available at: [Accessed Day Month Year].

Modify the access date according your visit.

3D Engineering ToolBox - draw and model technical applications! 2D Engineering ToolBox - create and share online diagram drawing templates! Engineering ToolBox Apps - mobile online and offline engineering applications!

Unit Converter