Mathematics

Hunt for primes and number patterns, put probability to the test, and see geometry, curves and calculus move.

Popular

Algebra & Calculus

Algebra and calculus are the tools that describe change and structure. Walk round the unit circle to see sine and cosine, watch a tangent and the area under a curve, multiply complex numbers as turns, and see a matrix stretch and rotate the plane.

The unit circle: sine, cosine and tangent you can turn example in PictorX

Drag an angle round the unit circle and see sin, cos and tan as segments, with exact values for 30°, 45°, 60° and every special angle, degrees and radians as multiples of π, the quadrant signs (ASTC), the reference angle, the sine and cosine graphs traced live and identities checked with real numbers.

Derivatives and integrals you can see and drag example in PictorX

Type any function and watch calculus happen: the tangent line and its slope at a point you drag, the secant whose slope becomes the derivative as h → 0, the derivative found symbolically, extrema and inflection points, Riemann sums converging to the definite integral, the error against n and the area function F(x) whose slope is f(x).

Complex numbers you can drag, multiply and turn example in PictorX

Drag complex numbers on the Argand plane and watch the arithmetic: addition as a parallelogram, multiplication as a turn and a stretch, division, the conjugate and 1/z, rectangular and polar form, powers by De Moivre's formula, n-th roots and roots of unity, Euler's formula e^(iθ) = cos θ + i sin θ and the complex roots of a quadratic.

Watch a matrix transform the plane example in PictorX

Watch a 2×2 matrix transform the plane: drag the basis vectors î and ĵ or type the entries, animate from the identity, and see the determinant as the signed area of the unit square, orientation flips, the collapse onto a line, eigenvectors that only stretch, complex eigenvalues as a rotation-scaling, the inverse, why BA ≠ AB and the SVD as rotate, stretch, rotate.

Function plotter example in PictorX

A free online function plotter: draw x², sin x, ln x, 1/x and your own formulas on an interactive grid. Pan, zoom, trace x and y, and save the graph as a PNG.

Fraction calculator example in PictorX

A free online fraction calculator: add, subtract, multiply, divide, simplify and compare fractions and mixed numbers, with the steps explained and a picture.

Matrix calculator example in PictorX

A free online matrix calculator: add, subtract, multiply, transpose and invert matrices up to 6x6, with determinant, rank, powers and exact fractions.

Geometry & Curves

Geometry studies shapes, sizes and positions. Construct figures with only a compass and a straightedge, slice a cone into circles, ellipses, parabolas and hyperbolas, and draw the Bézier curves behind every font and vector drawing.

Compass and straightedge constructions: Euclid's geometry step by step example in PictorX

Construct with only a compass and a straightedge, as Euclid did: watch the perpendicular bisector, angle bisector, equilateral triangle, square, regular hexagon and pentagon, √2, the golden ratio, tangents and the circumcircle drawn step by step, draw your own with exact intersections, and solve construction puzzles in as few moves as you can.

Cut a cone, get a conic example in PictorX

Cut a double cone with a plane in 3D and see the circle, ellipse, parabola or hyperbola in its own plane. Tilt through every type, read the eccentricity e = sin β / cos α and the equation, watch the Dandelin spheres prove the focal property, draw with string and pins, bounce rays to a focus and fly a Kepler orbit.

Drag the control points of a Bézier curve and watch de Casteljau's construction find every point, with the Bernstein basis graphed below. Degree 1 to 7, subdivision, degree elevation, affine maps, rational weights for an exact circle, C0 to C2 paths like font outlines, arc length, curvature and the SVG path.

Draw any shape and watch rotating circles trace it: Fourier epicycles online. Pick a heart, star or butterfly, type a word, choose how many circles turn and save a PNG or SVG.

Turn one-sided surfaces in 3D: the Möbius strip with any number of half twists, the Klein bottle and Boy's surface. Colour the two sides and watch them meet, send a walker once round to come back on the other face, and read the sides, edges and Euler characteristic.

Platonic and Archimedean solids example in PictorX

Turn all five Platonic solids and the thirteen Archimedean solids in 3D, from the tetrahedron to the truncated icosahedron soccer ball. Show their duals, colour the faces by kind, and read the faces, edges, vertices, Euler's formula and dihedral angles.

Torus knot example in PictorX

Turn any (p, q) torus knot in 3D: the trefoil, the cinquefoil, the Hopf link and Solomon's link. Trace how the knot winds around the torus, colour it in flowing gradients or stripes, and read its crossing, unknotting and linking numbers.

Distance on a sphere: the haversine formula example in PictorX

Work out the shortest distance between two places on the Earth with the haversine formula, step by step on a globe: latitude and longitude, the triangle with the pole, the central angle and the great circle, from New York to London or São Paulo to Cape Town, in km, miles or nautical miles.

Distance metrics: nine ways to measure how far apart example in PictorX

Compare nine distance metrics in one interactive app: drag two points to see Euclidean, Manhattan, Minkowski and Chebyshev distance with their circles of equal distance, measure the cosine between two vectors, the Hamming distance between two texts, the Jaccard and Sørensen–Dice distance between two sets, and the haversine distance between two cities, with every formula worked out.

Number Theory

Number theory is a branch of pure mathematics devoted to the study of whole numbers and their properties. It investigates prime numbers, divisibility, and integer equations to uncover deep patterns within arithmetic.

Watch the Sieve of Eratosthenes find the prime numbers up to 100, 200, 500 or 1000. Each prime crosses out its multiples in its own colour, step by step.

Ulam spiral example in PictorX

Draw the Ulam spiral in your browser. Mark the primes, read the quadratic on each diagonal, and open Euler's unbroken run of 40 primes.

Number spiral example in PictorX

Put every whole number on Sacks' number spiral, one perfect square per turn, and see the primes fall onto curves. Colour squares, pronic, triangular and Fibonacci numbers, trace prime-rich curves like x² + x + 41 and read any number's prime factors.

Polar number plot example in PictorX

Plot the whole numbers in polar coordinates: radius n, angle n. Color the primes, squares, Fibonacci, twin primes, happy numbers and more, and see spirals and rays. With a table view.

Prime gap explorer example in PictorX

Plot the gap between every pair of consecutive primes in any range up to 2 trillion. Compare it with ln p and Cramér's (ln p)², count twin primes, see how often each gap occurs and jump to the record gaps.

Goldbach conjecture tester example in PictorX

Test Goldbach's conjecture on any even number up to 4 × 10^18: find the two primes, see every split as an arc, compare the count with Hardy and Littlewood's formula and plot Goldbach's comet.

Perfect number finder example in PictorX

Check whether a number is perfect, abundant or deficient: all its divisors, σ(n) and the sum of its proper divisors written out, its aliquot sequence, amicable pairs, 1 to 100,000 by class and the 52 known perfect numbers.

Modular clock example in PictorX

Calculate a mod n, sums, products, powers, inverses and division modulo n, with every step written out, and see the answer travel round a clock with n hours. Negative and 30-digit numbers too.

Join each number on a circle to its multiple. Draw a times table, a cardioid, or a string figure on paper, chalk, or wood.

Euler's totient calculator example in PictorX

Calculate Euler's totient φ(n) for any n up to 10^18 with the product formula written out, see which numbers are coprime to n, check Euler's theorem, plot φ(k) and solve φ(n) = m.

Chinese remainder theorem solver example in PictorX

Solve x ≡ a (mod n) for any number of equations, with every step written out: the textbook construction with the extended Euclidean algorithm, substitution, moduli that share factors, and numbers of any size.

Fermat's Last Theorem example in PictorX

A free check of aⁿ + bⁿ = cⁿ for positive integers. See the Pythagorean triples for squares, and for every larger exponent the exact gap, including the near-miss from The Simpsons.

The Fibonacci sequence example in PictorX

Each Fibonacci number is the sum of the two before it. Watch the squares spiral, the ratios settle on the golden ratio, and Binet's formula rebuild the same numbers.

Wheat and chessboard: one grain, doubled on every square example in PictorX

The legend of the grains on the chessboard: one grain on the first square, two on the second, four on the third. Watch the board fill square by square and the doubling grow to 2⁶⁴ − 1 grains, more than a thousand years of the world's wheat.

Recamán's sequence example in PictorX

Start at 0. Each step hops backward by n when that spot is positive and new, and jumps forward otherwise. Watch the semicircles, the missing numbers, and a melody from the same hops.

The Collatz Conjecture example in PictorX

Explore the Collatz 3n+1 problem in your browser. Walk hailstone sequences, grow a geometric Collatz tree, and zoom the continuous Collatz fractal.

Your birthday in pi example in PictorX

Find your birthday in the digits of pi. Every date from 1926 to 2025, written day month year (14 03 79), looked up in the first 10 million digits: see the digit where it starts, the digits around it and which level of the search found it.

Combinatorics

Combinatorics is the branch of mathematics focused on counting, arranging, and combining finite sets of objects. It helps determine the number of possible outcomes in complex systems, puzzles, and probability problems.

Permutation and combination calculator example in PictorX

Count permutations and combinations exactly, with and without repetition: nPr, nCr, nᵏ and multisets side by side, the formula with your numbers, word anagrams like MISSISSIPPI, and a list of every arrangement.

Pascal's triangle explorer example in PictorX

Explore Pascal's triangle up to 64 rows. Click any number for C(n, k), see (a + b)ⁿ and the powers of 2, the hockey stick, the Fibonacci diagonals, the Sierpiński pattern of remainders and the triangular numbers.

Balls into boxes calculator example in PictorX

Count the ways to put n balls into k boxes, exactly: distinct or identical balls and boxes, any number, at most one or at least one per box. All twelve cases of the twelvefold way, with Stirling and Bell numbers, partitions and every way drawn.

52 factorial: every shuffled deck is one of a kind example in PictorX

Shuffle a deck of cards and watch 52 × 51 × 50 × … build up to 52! ≈ 8.07 × 10⁶⁷, an 8 followed by 67 digits. See it climb past the stars and every shuffle in history, and why the deck in your hands has almost certainly never existed before.

Probability

Probability is the mathematical study of randomness and uncertainty. It assigns numerical values to the likelihood of events occurring, helping predict outcomes in games, science, finance, and everyday decisions.

Rolling dice example in PictorX

Roll one, two or three dice a thousand times and compare the bar chart of how often each result came up with the expected frequencies. See why 7 is the most common sum.

Marbles from a vase example in PictorX

Draw marbles from a vase without looking and without putting them back. Follow every draw in a tree diagram: 5/9 × 4/8 = 5/18 for two red marbles. Then let the computer draw 1,000 rounds.

Gambler's fallacy example in PictorX

Flip a fair coin 100 times a second and see what comes after every streak of 5 or 8 heads in a row. It is still 50/50: the coin has no memory.

Drop balls through rows of pegs and watch a bell curve fill the bins. Change the rows, the bias, and the number of balls, and compare mean and spread with theory.

Buffon's Needle example in PictorX

Drop needles on a lined floor in your browser. Count the crossings and watch Buffon's 1777 experiment estimate π.

Monte Carlo π example in PictorX

Throw thousands of random darts at a square with a circle in it and watch the share that lands inside turn into π. Start, stop, and follow the estimate as it converges.

Hi-Lo card counting example in PictorX

Learn Hi-Lo card counting at a blackjack table in your browser: +1, 0 or −1 for every card, the running count, the true count and the bet. Practise the count, count down a deck, or play a million rounds.

Statistics

Statistics turns randomness into numbers you can trust: averages, spreads, distributions and thresholds. Run an experiment a thousand times and watch the law of large numbers, the bell curve and sudden tipping points appear out of pure chance.

Statistics calculator example in PictorX

A free online statistics calculator: paste numbers and get the mean, median, mode, variance, standard deviation, quartiles and a histogram instantly.

Central limit theorem example in PictorX

Draw samples from an exponential, uniform, die, biased coin, U-shaped, two-humped or log-normal distribution and watch the histogram of their means turn into a bell curve with spread σ/√n. Compare the mean, spread and skewness of the means with the theory.

Collision paradox example in PictorX

Draw random values until one repeats and see how soon collisions come: birthdays, PIN codes, lottery tickets, 32-bit and 64-bit hashes, passwords and UUIDs. Simulate thousands of experiments and compare them with the birthday formula and the √N rule.

Random walk example in PictorX

Simulate up to 5,000 random walkers taking steps left, right, up or down and see how far they end up from the start. Compare the mean distance, the variance and the √N rule with theory, watch the Rayleigh curve form and count the walkers that come home.

Queue simulator example in PictorX

Simulate a supermarket with 1 to 20 checkouts: random Poisson arrivals, random checkout times, one shared line or a line per checkout. Watch the queue through the day, compare the waiting times with Erlang C theory and find how many checkouts keep the wait short.

Branching process example in PictorX

Simulate families in which every individual has a random number of children and see which ones die out and which explode. Compare the simulated extinction with the theory q = G(q), watch a family tree grow and follow hundreds of populations on a log scale.

Epidemic simulator example in PictorX

Simulate how a virus spreads through a population of moving people. Change the infection chance, the recovery time, vaccination and staying home, and compare the outbreak with the SIR model: R₀, the peak, exponential growth and herd immunity.

Percolation example in PictorX

Fill a grid at random and find from which share of filled cells a path joins the top to the bottom. Watch water flow through the clusters, see this grid's exact threshold and the chance curve from 200 grids against the theory's 59.27%.

Paradoxes

A paradox is a statement or situation that contradicts itself yet appears logically sound. Exploring paradoxes challenges common intuition and exposes hidden flaws or limits in our everyday reasoning and mathematical rules.

Zeno's paradoxes example in PictorX

Step through Zeno's dichotomy, race Achilles against the tortoise and freeze the flying arrow. See infinitely many steps add up to a finite total, and speed emerge as a limit.

The birthday paradox example in PictorX

In a group of 23 people the chance that two share a birthday is 50.7%, and with 57 people it is 99%. See all 253 pairs, the calendar and the curve, and test thousands of random groups in your browser.

The Monty Hall problem example in PictorX

Pick one of three doors, watch Monty open one with a goat, then stay or switch. Play yourself or let the computer play 1,000 games and see switching win two times out of three.

Two envelopes paradox example in PictorX

See why switching envelopes is not always better. Open one amount, compare the tempting 1.25 times average with the correct expectation, and run 10,000 pairs.

Draw random chords of a circle four ways and watch the share longer than the triangle's side settle at 1/3, 1/2 or 1/4. See the midpoints, the theory curve, and Jaynes's straws.

Simpson's paradox example in PictorX

Explore Simpson's paradox: see how one option can do better in every group yet worse overall, with real data on kidney stone treatments, Berkeley admissions and batting averages, or your own numbers.