Homogeneous Transformation Calculator

Solve 2D and 3D frame transformations precisely. Enter rotations, offsets, and points for chained analysis. See matrices, coordinates, graphs, and exports in one place.

Calculator Inputs

Use the grid below. Large screens show three columns, smaller screens show two, and phones show one.

Used only for 3D calculations.

Point Coordinates


Transform 1


Transform 2

Example Data Table

Case Dimension Input Point Translation Rotation Output Point
Example A 2D (2, 1) (4, 3) 90° about Z (3, 5)
Example B 3D (1, 2, 3) (5, 1, 2) 90° about Z (3, 2, 5)
Example C 3D Chained (1, 0, 2) T1 then T2 Order ZYX Use the form to inspect intermediate values

Formula Used

2D Homogeneous Transform

T = [ [cosθ, -sinθ, tx], [sinθ, cosθ, ty], [0, 0, 1] ]

P′ = T × P, where P = [x, y, 1]T.

3D Homogeneous Transform

T = [ R t; 0 0 0 1 ]

P′ = T × P, where P = [x, y, z, 1]T.

The rotation block is composed by the selected order, such as R = RZ × RY × RX for ZYX.

Chained Transform Rule

Ttotal = T2 × T1

This means the first transform acts first on the point, and the second transform acts on that intermediate result.

Inverse Rigid Transform

T-1 = [ RT , -RTt; 0 1 ] for 2D, and the 4×4 equivalent for 3D.

How to Use This Calculator

  1. Select 2D or 3D mode.
  2. Enter the point coordinates you want to transform.
  3. Fill in translation values for Transform 1.
  4. Enter the rotation angle for 2D, or X, Y, and Z rotations for 3D.
  5. Choose a rotation order when working in 3D.
  6. Enable the chained option if a second transform is needed.
  7. Press the calculate button to display the result above the form.
  8. Review matrices, point outputs, inverse transform, and the Plotly graph.
  9. Use the CSV or PDF buttons to export your results.

Frequently Asked Questions

1. What is a homogeneous transformation?

It is a matrix method that combines rotation and translation in one operation. It lets you transform points, vectors, and coordinate frames using one consistent multiplication rule.

2. Why use homogeneous coordinates?

They let translation fit into matrix multiplication. Without homogeneous coordinates, translation needs a separate addition step, which makes chained spatial operations less convenient.

3. What does rotation order mean in 3D?

3D rotations are not commutative. Changing the order changes the final orientation. That is why XYZ and ZYX can produce different transformed coordinates from the same angle values.

4. What does the inverse matrix tell me?

The inverse transform maps transformed coordinates back to the original frame. It is useful for robot kinematics, camera pose recovery, and checking whether your transform behaves as expected.

5. Can I apply two transforms in sequence?

Yes. Enable the chained option and enter Transform 2. The calculator computes the composite matrix and also shows the intermediate point after Transform 1.

6. Why is the determinant important?

A proper rigid rotation matrix usually has determinant 1. If the value drifts far from 1, your transform may include an invalid rotation or strong numerical distortion.

7. Does this calculator include scaling?

No. This page focuses on rigid transformations made from rotation and translation. That keeps the matrices practical for robotics, graphics, navigation, and analytic geometry tasks.

8. What is shown in the Plotly graph?

The graph plots the original frame, the transformed frame, the original point, the intermediate point, and the final transformed point. It helps you verify orientation and displacement visually.

Related Calculators

scale down calculatorrotation matrix calculatormatrix transformation calculatorcoordinate transformation toolscale up calculatorrotate point calculatortranslation vector calculatorrotation about pointreflection over lineenlargement calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.