# Scientific calculator

Empty expression
Radians Degrees Enable keyboard input Insert at cursor

## How to use this scientific calculator

You can either type in your expression using your computer keyboard, or using the on-screen buttons. The expression is always calculated as-you-type, and therefore there is no equal sign button.
Result field
The result is shown below your expression. It is displayed with 10 significant figures. If your expression can not be calculated you will see an error description instead of the answer.
Working with memory / history
When you press (or click on) Enter, the calculated expression will show up in the log to the right, and the input field will be cleared, ready for a new expression. You can use Ans to access the last answer, and prev to step back to previous operations. Alternatively, you can use the up/down arrow keys (like in a typical command line environment) on your keyboard to go back to previous operations (and Shift+up/down to go to old answers). In every log entry, there are two small on-screen buttons which allow you to go back to specific operations without stepping through the entire log: for returning to the operation, and for inserting the answer.
Expression syntax
The calculator is very robust when it comes expression syntax. You don't have to insert multiplication signs or zeroes that are obvious: for instance, .5(3+2)pi is the same as 0.5*(3+2)*pi. The operators symbols are:
 Symbol Operation ^ To the power of / Division * Multiplication - Subtraction + Addition
Their priority is in this specified order, with the top ones being processed before the bottom ones.
Note that both point (.) and comma (,) count as decimal symbols.
Fraction
With the Frac button, you can change the current answer to fraction format. The calculator then searches for a fraction that matches the decimal answer to 7 significant figures. The Frac button has effect only on non-integers ranging from 1E-9 to 1E10.
Functions
As expected of any scientific calculator, the CalcBuddy online calculator provides the most common functions. Below is a reference table for them:
 Symbol Function name sqrt( ) square root cbrt( ) cube root abs( ) absolute value log( ) logarithm with base 10 ln( ) logarithm with base e log2( ) logarithm with base 2 sin( ) sine cos( ) cosine tan( ) tangent sinh( ) hyperbolic sine cosh( ) hyperbolic cosine tanh( ) hyperbolic tangent arcsin( ) inverse sine arccos( ) inverse cosine arctan( ) inverse tangent
Constants
CalcBuddy also provides 30 scientific constants to simplify calculations in for instance physics and chemistry. A reference table below:
 Symbol Constant name Value Unit pi pi 3.141592653589793 none e e, Euler's number 2.718281828459045 none Re Radius of Earth 6.37814E6 m Rm Radius of Moon 1.73814E6 m Rs Radius of Sun 6.955E8 m Rem Distance Earth - Moon 3.84403E8 m AU Astronomical Unit 1.495978707E11 m ly Lightyear 9.460528405E15 m pc Parsec 3.08568025E16 m Me Mass of Earth 5.974E24 kg Mm Mass of Moon 7.3477E22 kg Ms Mass of Sun 1.9891E30 kg mu Atomic mass unit 1.660539E-27 kg mp Proton rest mass 1.672622E-27 kg mn Neutron rest mass 1.674927E-27 kg me Electron rest mass 9.109382E-31 kg G Gravitational constant 6.67428E-11 Nkg2m-2 g Standard acceleration of gravity 9.80665 ms-2 c Speed of light 2.99792458E8 ms-1 h Planck's constant 6.626069E-34 Js qe Elementary charge 1.6021765E-19 C eV Electron volt 1.6021765E-19 J eo Electric constant 8.854187817E-12 C2N-1m-2 uo Magnetic constant 1.2566370614E-6 NA-2 F Faraday's constant 96485.34 Cmol-1 Na Avogadro's number 6.022142E23 mol-1 R Ideal gas constant 8.31447 Jmol-1K-1 k Boltzmann's constant 1.38065E-23 JK-1 Co 0°Celsius in Kelvin 273.15 K atm Atmosphere 101325 Pa
Settings
Below the calculator you can select angle unit, and whether or not the keyboard input should be enabled. For mobile device browsers, it's a good idea to not have keyboard enabled, since you will then get "sucked into" the input field. Insert at cursor makes your button click inputs appear at the current cursor position inside the expression. it also lets you select a span of text and insert function around that span. Inserting at cursor in disabled in Internet Explorer.