Percentage Calculator
Get three percentage answers on one screen: X% of Y, X as a percent of Y, and the change between two numbers.
Type a maths expression with trig, square roots, logs, pi or e and read the result straight away. Your browser does the calculation.
Updated
Your browser is preparing the tool. It runs 100% locally.
Type a maths expression and the tool evaluates it. It supports the usual operators, parentheses, the constants pi and e, and functions such as sin, cos, tan, sqrt, log and ln. Two conventions to remember: trigonometric functions work in radians (multiply by deg for degrees, so sin(30*deg) is 0.5), and log is base 10 while ln is the natural log. Your browser does the calculation and nothing is uploaded.
The tool works out the value of an expression you type, as a scientific calculator would. It handles arithmetic, powers, parentheses and the common scientific functions and constants, and returns one number.
Use it for anything past a basic sum: a trig value, a square root, a logarithm, or an expression that mixes several of them, without hunting for a physical calculator.
The tool reads your expression, recognises the constants pi and e and the functions you use, and evaluates it in the normal order of operations, with parentheses grouping as you would expect. It rounds the result to about eight decimal places.
Two conventions matter. The trigonometric functions take angles in radians, so to work in degrees you multiply by deg, as in sin(30*deg). The function log is the base-10 logarithm and ln is the natural logarithm. Use the caret for powers.
operators: + − × ÷ and ^ for powers · parentheses ( )
constants: pi, e · functions: sin, cos, tan, sqrt, log (base 10), ln, abs
trig is in radians; multiply by deg for degrees2*pi*sqrt(2) → 8.88576588 · sin(30*deg) → 0.5Trigonometric functions work in radians; use deg to enter degrees. log is base 10 and ln is the natural log. Results are rounded to about eight decimal places.
Supported expressions are computed correctly and rounded to about eight decimal places. The usual order of operations and parentheses apply.
Trigonometry is in radians. A common slip is entering degrees directly: sin(30) is not 0.5, because 30 is read as radians. Multiply by deg, as in sin(30*deg), to get the value you expect.
Rounding to eight decimals shortens very long decimals, and very large or very small numbers hit the normal floating-point limits of a computer, so results at those extremes can lose a little precision.
Only the supported operators, constants and functions are accepted. If an expression contains anything else, the tool rejects it as invalid and does not guess, so check the spelling against the list of functions.
Compute a multi-part maths expression in one go.
Work out sines, cosines and square roots, such as sqrt(2) or cos(60*deg).
Calculate base-10 logs with log or natural logs with ln.
Check a step in a physics or maths problem that needs pi, e or a power.
For degrees, multiply angles by deg. Solving equations, calculus and matrices need a computer-algebra tool, and exact fractions or very high precision need a specialised calculator. This one evaluates numeric expressions.
Trig functions here take radians (sin(30*deg) gives 0.5), log means base 10 and ln the natural log, and every answer is rounded to about eight decimal places.
Get three percentage answers on one screen: X% of Y, X as a percent of Y, and the change between two numbers.
Convert length, weight and volume units in your browser. Pick a category, type a value and the result appears at once, worked out through a fixed base unit with standard factors.
Get your exact age in years, months and days on any date, including the cut-off date an exam or admission form names.
Find your BMI from height and weight, with the WHO category and a plain note on what BMI misses.
Work out the sale price and how much you save from a percentage discount. Enter the original price and the discount.
Count the days between two dates, with the same span in weeks and approximate months and years. Pick a start and an end date.
Enter your numbers at the top of the page. Nothing you type leaves this device.