Math figure maker
Draw ready-to-print maths figures from a shape plus its parameters: sides, heights, radii and angles are labelled on the figure, and a "?" parameter is drawn as a question mark. Triangles (right/isosceles/equilateral), quadrilaterals, regular polygons, circles/ellipses/sectors/angles, number line and coordinate plane, plus cuboid/cube/cylinder/cone/sphere diagrams — with optional grid and caption, exported as SVG or PNG.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Figure picker
Tap a card to choose a figureGrouped by figure family: Plane figures 1 · Triangles 4 · Quadrilaterals 5 · Curves & axes 6 · Solids 5
Plane figures
Triangles
Quadrilaterals
Curves & axes
Solids
Parameters
Canvas
Figure preview
A "?" label is the unknown to solve for.
QuadrilateralsRectangleA rectangle with sides a and b, optional diagonal
Result
The preview is the final figure — export SVG / PNG straight into your worksheet.
Export options
SVG is vector, so it stays sharp in Word / PowerPoint; PNG is exported at the canvas size on a white background.
Figure Rectangle · Canvas 720 × 540 · Shapes 8 · Dimension labels 2 · Unknowns 0 · Scale 90.7104px per unit
Figure: Rectangle — A rectangle with sides a and b, optional diagonal Parameters: a = 6 · b = 4 Labels: 2 dimension label(s) Canvas: 720 × 540px · scale 90.71px per unit Unknowns: none
Advanced: one-line form
What this tool does
- Make the diagram for a maths question: pick a figure, type its sides, and the figure comes out with dimension lines, vertex letters and values — export SVG / PNG straight into a worksheet or slide deck.
- Plane figures and solids alike: rectangle / square, triangles (right / isosceles / equilateral), parallelogram / trapezoid / rhombus / regular polygon, circle / ellipse / sector / angle / number line / coordinate plane, and axonometric cuboid / cube / cylinder / cone / sphere — each figure needs only a few parameters.
- Type ? (or leave a field empty) to mark an unknown: a "given a = 6, find b" diagram no longer needs manual editing, just change one parameter and the layout is redone.
- Solids use the same parameters: cuboid, cube, cylinder, cone and sphere are drawn as axonometric diagrams with radius, height and slant height labelled.
- Turn on the grid and add a caption (e.g. "Find the shaded area") when the figure should look like a question; the canvas size can be set to your paper ratio.
- One-line form: type rectangle a=6 b=? and press Enter — the figure and its parameters are filled in one go, which is quicker than the form when you tweak the same figure several times.
- For a "find the shaded area" question: pick the figure, type ? for the side to be found, and put "Find the shaded area" in the caption; the figure comes with a light tint and dimension lines, so brighten the shaded region in an editor after exporting the SVG if you need it.
Example
Input
Rectangle a=6, b=? (unknown), with diagonal, unit cm
Output
Figure: Rectangle — A rectangle with sides a and b, optional diagonal Parameters: a = 6 · b = ? Labels: 2 dimension label(s) Canvas: 720 × 540px · scale 90.71px per unit Unknowns marked with ?: 1
This is the real output from the page: b is drawn as a question mark, and the dimension lines, arrows and vertex letters are generated live from the current parameters.
Frequently asked questions
What is the "?" for?
A parameter set to ? (or left empty, or "x") is an unknown to solve for: the figure is still drawn with a reference proportion, but that dimension line is labelled with a question mark. Handy for "given two sides, find the third" questions.
Is the figure drawn to scale?
Yes. Every figure is scaled proportionally to the numbers you enter and centred on the canvas (a 6 : 4 rectangle really is 3 : 2), and the dimension lines, vertex letters and auxiliary lines are re-laid out together.
Can it draw solids?
Yes. Cuboid, cube, cylinder, cone and sphere are axonometric diagrams: ellipses for the base and the curved side, dashed lines for the hidden edges, with radius, height and slant height labelled.
Can I drop the export into a worksheet?
Yes. SVG is vector, so it stays sharp at any size and can be inserted in Word, WPS, LaTeX, PowerPoint and online editors; use "Export PNG" when you need a bitmap — it renders the canvas (720 × 540 by default) on a white background.
What if I enter impossible numbers?
The tool tells you instead of drawing something wrong: a triangle whose two sides do not add up to more than the third, a non-numeric parameter, or a canvas size outside 160–2400 all show a specific message in the parameter area.
How do I use the one-line form?
The format is "figure key=value", e.g. triangle a=3 b=4 c=5 or rectangle a=6 b=?. Click Parse or press Enter: the tool switches to that figure and fills the parameters you wrote (the rest keep their defaults). An unknown figure name reports "Unknown figure", and a missing "=" reports the expected shape of the one-line form.
What does the grid step mean?
It is the distance between grid lines in maths units (1 by default), and it only applies while the grid is on. Entering 0 or a non-number shows an error; a larger step (e.g. 3) draws a sparser grid, while the figure itself and its dimension labels stay the same.
Keywords:math figuregeometry drawingmath diagram