Math Calculators

Math tools for arithmetic, algebra, geometry, trigonometry, linear algebra, and number theory.

Geometry

Area Calculator Finds the area of 2D shapes: rectangle, square, triangle (from base and height, three sides, two sides and the angle between them, or two angles and the side between them), circle, semicircle, circular sector, ellipse, trapezoid, parallelogram (three ways), rhombus (three ways), kite (two ways), regular pentagon, hexagon and octagon, annulus (ring), any quadrilateral from its diagonals and any regular polygon. Pick the shape, enter its dimensions in any length unit (angles in degrees or radians), and you get the area in that unit squared, plus square metres and square feet, and the perimeter where the inputs fix it. Handy for working out the area of a room, a garden bed or a patio before buying flooring, mulch or bricks. Area of a Circle Calculator Finds the area of a circle from its radius, diameter or circumference, and works backwards from a known area to the radius. All four measurements are shown together, so you can use it for a round table top, a pizza, a garden bed, a pipe cross-section or a circular room. Pick the length unit and the area comes out in the matching square unit, also converted to square metres and square feet. Area of a Triangle SAS Calculator Finds the area of a triangle from two sides and the angle between them (side-angle-side, SAS) using Area = ½ a b sin α. It also solves the rest of the triangle: the third side by the law of cosines, the two remaining angles, the perimeter and the height onto side a. Circumference Calculator Finds the circumference (the distance around) of a circle from its radius, diameter or area, and works backwards from a measured circumference to the radius and diameter. Handy for wrapping a tape round a tree trunk, a pipe or a wheel and finding how wide it is, or for working out how much edging a round flower bed needs. All four circle measurements are shown together, plus the distance travelled in one turn of a wheel in metres and feet. Cone Volume Calculator Calculates the volume of a cone from its base radius and height, and the volume of a truncated cone (frustum) from its base radius, top radius and height. Use it for an ice-cream cone, a funnel, a heap of sand or gravel, a lampshade or a flower pot. For a right cone you also get the slant height and the surface areas, and every volume is converted to litres, US gallons, cubic metres and cubic feet. Cube Volume Calculator Finds the volume of a cube from its side length, and also works from the surface area, the face diagonal, the space diagonal or the volume itself, so you can get the side of a cube that holds a given amount. Every measurement of the cube is shown together, with the volume converted to litres, US gallons, cubic metres and cubic feet: useful for boxes, storage bins, dice, ice cubes or concrete blocks. Cylinder Volume Calculator Works out the volume of a cylinder from its radius or diameter and height, and the volume of material in a hollow cylinder such as a pipe or tube from its outer and inner diameters. Use it for a water tank, a can, a round column or a post hole. The volume is given in your cubic unit and also in litres, US gallons, cubic metres and cubic feet, with the surface areas of a solid cylinder alongside. Midpoint Calculator Finds the point exactly halfway between two points on a coordinate plane, using the midpoint formula ((x₁ + x₂)/2, (y₁ + y₂)/2). It also works in reverse: give one endpoint and the midpoint and it finds the other endpoint. The length of the segment, the distance from each end to the midpoint and the slope of the segment are shown too, so you can check geometry homework or split a line on a plan into two equal halves. Pythagorean Theorem Calculator Solves a right triangle with the Pythagorean theorem, a² + b² = c². Give any two of the two legs, the hypotenuse, the area and the perimeter, and it finds the missing sides, then adds the area, perimeter, both acute angles and the height dropped onto the hypotenuse. Lengths can be in metric or imperial units, from millimetres to nautical miles, and the area in anything from square millimetres to acres. Handy for checking that a corner is square, sizing a ladder or ramp, or finding a diagonal. Right Triangle Perimeter Calculator Finds the perimeter of a right triangle. Enter the two legs (the sides that meet at the right angle) and the calculator works out the hypotenuse with the Pythagorean theorem and adds all three sides; or enter all three sides directly. It also gives the area and both acute angles, and checks that the sides can form a triangle and whether it really has a right angle. Slope Calculator Finds the slope (gradient) of the straight line through two points, m = (y₂ − y₁) ÷ (x₂ − x₁), along with the equation of the line in slope-intercept form y = mx + b. You also get the y-intercept, the angle the line makes with the x-axis in degrees, the slope as a percentage grade, the rise and run between the points and the distance between them. Vertical and horizontal lines are handled correctly.

Statistics

Average Calculator Finds the average (arithmetic mean) of a list of numbers, together with the count, sum, median, geometric mean, smallest and largest value and the range. Paste or type the numbers separated by commas, spaces or semicolons, in any mix. Anything that is not a number is skipped and listed, so you can see exactly which values went into the result. Useful for test scores, prices, measurements or any other set of data. Confidence Interval Calculator Calculates a confidence interval for a population mean or a population proportion from sample data. For a mean, enter the sample mean, the standard deviation (or the standard error) and the sample size; for a proportion, the number of successes or the sample proportion and the sample size. Choose the confidence level, such as 90%, 95% or 99%, to get the critical z-value, the standard error, the margin of error and the lower and upper bounds of the interval. Mean Calculator Calculates the three classical (Pythagorean) means of a data set: the arithmetic mean (the everyday average), the geometric mean (for growth rates and ratios) and the harmonic mean (for rates such as speeds and prices per unit). Choose one or show all three side by side, with the sum, product or reciprocal sum each one is built from. Median Calculator Finds the median, the middle value of a data set, and shows how it was found: the numbers sorted from smallest to largest, the position of the middle value and, for an even count, the two middle values that are averaged. Paste a list of test scores, house prices, salaries or response times. The median is not pulled around by a few extreme values, so it is often a fairer ‘typical’ value than the mean, which is shown alongside for comparison. Standard Deviation Calculator Calculates the standard deviation of a list of numbers, the most common measure of how spread out data are around their mean. Paste or type your values separated by commas, spaces or new lines, and choose whether they are a sample from a larger group (dividing by n − 1) or the whole population (dividing by n). You also get the variance, mean, count, sum, sum of squared deviations, standard error of the mean, minimum, maximum and range. Weighted Average Calculator Finds the weighted average (weighted mean) of a list of values, where some values count more than others. Enter the values and their weights in the same order: course grades and credit hours, exam scores and percentage weights, prices and quantities bought, or returns and amounts invested. You get the weighted average with the sum of value × weight and the sum of weights it comes from, plus the plain average for comparison. Z-Score Calculator Converts a raw value into a z-score, the number of standard deviations it lies above or below the mean: z = (X − μ) ÷ σ. Enter the value, the mean and the standard deviation, or work backwards from a z-score to the raw value. You also get the probabilities from the standard normal distribution: the left-tailed (percentile), right-tailed and two-tailed p-values and the probability of falling within ±z of the mean, which you can use for hypothesis tests or to compare scores from different scales.

Arithmetic

Fraction Calculator Adds, subtracts, multiplies and divides two fractions, simplifies a fraction to lowest terms, and converts between fractions and decimals. Fractions can be entered as simple fractions (7/4) or as mixed numbers (1 3/4). Every answer is reduced to lowest terms and also given as a mixed number, an exact decimal with any repeating digits marked, and a decimal rounded to six places, together with the working: the common denominator for addition and subtraction or the reciprocal for division. GCD Calculator (Greatest Common Divisor) Finds the greatest common divisor (GCD), also called the greatest common factor (GCF) or highest common factor (HCF), of up to 15 whole numbers: the largest number that divides all of them without a remainder. Enter the numbers separated by commas or spaces and choose how to see the working: the Euclidean algorithm step by step, or the prime factorization of each number with the shared factors picked out. The least common multiple is shown too. LCM Calculator (Least Common Multiple) Finds the least common multiple (LCM) of up to 15 whole numbers: the smallest positive number that every one of them divides into exactly. Use it to find a common denominator for fractions or to work out when repeating events line up. Choose how to see the working: listing multiples, prime factorization with the highest power of each prime, or the shortcut LCM(a, b) = a × b ÷ GCD(a, b). The greatest common divisor is shown too. Long Division Calculator Divides one whole number by another and shows the long division step by step, the way it is taught at school: bring down a digit, see how many times the divisor goes in, multiply, subtract and carry the remainder. You get the quotient and remainder, the answer as a mixed number, and the exact decimal, with any repeating digits marked in brackets. Prime Factorization Calculator Breaks a whole number down into the prime numbers that multiply to give it, such as 360 = 2³ × 3² × 5, for any number up to one trillion. The step-by-step division table shows how the number is divided by its smallest prime factor again and again until 1 is left. You also learn whether the number is prime, how many divisors it has, their sum, and the full list of divisors for numbers that do not have too many. Ratio Calculator Solves proportions and works with ratios of two or three numbers. Fill in any three of A : B = C : D to find the missing value, scale a ratio up or down by a factor, simplify a ratio to its lowest whole-number terms (decimals such as 1.5 : 2.25 are handled exactly), or rewrite it in 1 : n or n : 1 form for comparing ratios. Each answer shows the working and the scale factor between equivalent ratios. Rounding Calculator Rounds a number to a chosen place value (thousands, tens, a whole number, tenths, hundredths and so on), to a number of significant figures, or to the nearest fraction such as a quarter or a sixteenth. Ten rounding rules are available, from everyday half up and banker's rounding (half to even) to ceiling, floor and truncation, and a comparison table shows what each rule gives for your number. Arithmetic is exact, so 2.675 rounds to 2.68, not 2.67 as some software gives. Scientific Notation Calculator Converts a number to scientific notation (a × 10ⁿ with 1 ≤ |a| < 10), e notation (3.2e5) and engineering notation with its SI prefix, and back to an ordinary decimal. Enter a plain decimal such as 0.000452 or 93,000,000, or a number already in scientific form such as 6.022e23 or 3*10^4, and optionally round the coefficient to a number of significant figures. Square Root Calculator Finds the square root of any number: the principal (positive) root, both roots ±√x, and for whole numbers the simplified radical form such as √72 = 6√2. It tells you whether the number is a perfect square and names the perfect squares either side of it, which is how you would estimate a root by hand. Negative numbers get their imaginary roots, written with i.