Saved

Press the star next to a tool's name to save it.

All my tools

Plane Calculator

Use this plane calculator to find the equation of a plane through three points or from a normal, the distance from a point to a plane, and the line where two planes meet.

Restored your last values ·

A plane is written ax + by + cz = d. Choose a job. For three points, enter the x, y and z of each. For a point and a normal, enter the point and the numbers a, b and c of the normal. For a distance, enter the point and the plane's a, b, c and d. For two planes, enter a, b, c and d for both. Leave unused boxes empty.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what you want, fill in the boxes, then press Work out the result.

See full result

A plane calculator finds the equation of a plane in three dimensions from three points, or from a point and a normal vector, measures the distance from a point to a plane, and finds the line where two planes meet along with the angle between them. Enter the numbers, choose the job and press the button. The method uses the dot and cross products described on Wikipedia, and the work is done in your browser. It is a plane equation calculator that follows the usual analytic geometry of a plane in space.

How to use the plane calculator

  1. Choose what you want: a plane through three points, a plane from a point and a normal, a distance, or the meeting of two planes.
  2. Enter the coordinates of the points, or the numbers a, b, c and d of a plane.
  3. Press Work out the result.

The equation of a plane is ax + by + cz = d, where the vector (a, b, c) is a normal: it is perpendicular to the plane.

A plane through three points

Given three points that are not on one line, make two vectors from the first point to the other two. The cross product of those vectors is perpendicular to both, so it is a normal to the plane. The Wikipedia page on the cross product explains that the cross product gives a vector perpendicular to both inputs. Then d is the dot product of the normal with the first point. For the points (1, 0, 0), (0, 1, 0) and (0, 0, 1), the vectors are (−1, 1, 0) and (−1, 0, 1), their cross product is (1, 1, 1), and d is 1. The plane is x + y + z = 1. The length of the cross product is twice the area of the triangle formed by the three points, so the calculator also gives that area, which is the square root of 3 divided by 2 here. If the points lie on a line, the cross product is zero and you get a message instead.

A plane from a point and a normal

If you know a point on the plane and a normal vector (a, b, c), the plane is all the points whose difference from the known point is perpendicular to the normal. That means the dot product of the normal with the difference is zero, so d is a times x plus b times y plus c times z for the known point. For the point (1, 2, 3) and the normal (2, −1, 0), d is 2 minus 2, which is 0, and the plane is 2x − y = 0. Any multiple of the normal gives the same plane, so the equation can be written in many ways.

The distance from a point to a plane

The signed distance from a point to the plane ax + by + cz = d is the value of a times x plus b times y plus c times z, minus d, divided by the length of the normal. Its absolute value is the distance. For the point (2, 2, 2) and the plane x + y + z = 1, that is 6 minus 1, divided by the square root of 3, which is about 2.8868. The sign tells you which side of the plane the point is on, and the calculator also gives the closest point on the plane, found by moving the point back along the normal. Here it is about (0.3333, 0.3333, 0.3333).

Two planes: the line where they meet and the angle

Two planes that are not parallel meet in a line. Its direction is the cross product of the two normals, because the line lies in both planes and is therefore perpendicular to both normals. The calculator finds a point on the line by solving the two equations, and writes the line in parametric form. For x + y + z = 1 and x − y = 0, the direction is (1, 1, −2) and a point is (0.5, 0.5, 0). The angle between the planes is the angle between their normals, taken between 0 and 90 degrees, which here is 90 degrees. If the normals point the same way, the planes are parallel, and the calculator says whether they are the same plane or never meet.

Where plane equations are used

Planes appear in computer graphics, where surfaces are made of flat polygons, in engineering drawings, in physics and in surveying. The signed distance is used in collision tests and clipping, and the angle between planes appears in the design of roofs, ramps and crystal structures. The calculator gives the numbers you need for these checks without writing the algebra out by hand.

A worked check of a plane

To test the plane x + y + z = 1, put in a point such as (0.5, 0.5, 0). Then 0.5 plus 0.5 plus 0 is 1, so the point is on the plane. A point such as (2, 2, 2) gives 6, which is more than 1, so it lies on the positive side of the normal. The signed distance has the same sign, which is why the calculator reports it.

Common mistakes

  • Using three points on a line. They do not define one plane.
  • Forgetting the sign of d. The constant is on the right of the equals sign.
  • Taking the normal as the plane. The normal is perpendicular to it.
  • Confusing the signed and absolute distance. The sign shows the side.
  • Expecting a unique equation. Multiplying every number by the same factor gives the same plane.

What next

Use this often? Add Plane to your Home screen.

Frequently asked questions

What is a plane calculator?

A tool for planes in 3D: it finds the equation of a plane, the distance from a point to a plane, and where two planes meet.

How do you find the equation of a plane through three points?

Cross the two vectors between the points to get a normal (a, b, c), then d = a·x + b·y + c·z for one point. The points (1,0,0), (0,1,0), (0,0,1) give x + y + z = 1.

How do you find the distance from a point to a plane?

Use |ax + by + cz − d| divided by the length of (a, b, c). The point (2, 2, 2) and the plane x + y + z = 1 are 5/√3 ≈ 2.8868 apart.

How do you find where two planes intersect?

The line's direction is the cross product of the two normals, and a point on it comes from solving both equations.

What does it mean if the three points are collinear?

They lie on one line, so infinitely many planes pass through them and no single plane can be given.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools