Toolkit Hub

Advanced Calculator

New

Scientific, programmer and unit-conversion calculator with a running tape.

Ctrl+Enterto evaluate

Expression

Type an expression, or use the keypad

Everything you can type

Operators: + − × ÷ % ^ (or **) // (floor division) ! (factorial) & | ~ << >> >>>

Functions: sin cos tan asin acos atan sinh cosh tanh ln log log2 exp sqrt cbrt abs sign floor ceil round trunc fact min max pow hypot gcd lcm mod avg sum atan2 xor not

Constants: pi π e tau phi inf, plus ans for the last result

Literals: 0xFF, 0b1010, 0o17, 1e6, 1_000_000. Implicit multiplication works: 2(3+4), 2pi.

History

Evaluated expressions are kept here, in this browser only.

What is the Advanced Calculator?

This calculator takes a whole expression rather than one keypress at a time, so you can type 2(3+4)^2 and see the result as you go. It covers scientific functions, a programmer mode for hex, octal, binary and bitwise operations, and unit conversion.

Frequently asked questions

Can I type expressions instead of clicking buttons?

Yes, and it is the faster path. Implicit multiplication works, so 2(3+4) and 2pi both parse, and the result previews live as you type. Hex and binary literals such as 0xFF and 0b1010 can be mixed into ordinary arithmetic.

Does it work in degrees or radians?

Either — switch the angle mode. Trigonometric functions honour the setting, which is the usual cause of a "wrong" sin or cos result when a calculator silently assumed radians.

What does programmer mode do?

It shows the same integer in decimal, hexadecimal, octal and binary at once, including the signed and unsigned 32-bit interpretations, and supports AND, OR, XOR, NOT and shifts — the operations you need when reading a bitmask or a colour value.

Related Finance & Conversion

Advanced Calculator is one of 5 tools in Finance & Conversion on Toolkit Hub, a free collection of browser-based utilities. It requires no account and no installation. Browse all tools.