Skip to main content

Denavit-Hartenberg (D-H) 4x4 Link Matrix Calculator

The Denavit-Hartenberg convention standardizes spatial coordinate frame attachments on articulated robot links.

Rotation about previous z-axis.

Translation along previous z-axis.

Translation along new x-axis.

Rotation about new x-axis.

Calculated Result
(0.247, 0.247, 0.200) m

End Position (x, y, z)

Row 1

[0.71, -0.00, 0.71, 0.25]

Row 2

[0.71, 0.00, -0.71, 0.25]

Row 3

[0.00, 1.00, 0.00, 0.20]

Calculation Breakdown

  1. D-H FormulaT = Rot_z(θ) · Trans_z(d) · Trans_x(a) · Rot_x(α)
  2. Translation VectorP = [a·cos(θ), a·sin(θ), d]ᵀ = [0.247, 0.247, 0.200]

What Is the Denavit-Hartenberg (D-H) 4x4 Link Matrix Calculator?

Denavit-Hartenberg (DH) parameters are four parameters associated with a particular convention for attaching reference frames to links.

How Does the Denavit-Hartenberg (D-H) 4x4 Link Matrix Calculator Work?

Multiplies z-rotation, z-translation, x-translation, and x-rotation matrices into a single 4x4 homogeneous matrix.

Denavit-Hartenberg (D-H) 4x4 Link Matrix Calculator Formula & Variables

The core mathematical equation utilized by this calculator is expressed as:

T = operatorname{Rot}_z( heta) operatorname{Trans}_z(d) operatorname{Trans}_x(a) operatorname{Rot}_x(alpha)

Product of elementary rotations and translations defining the standard DH matrix.

How to Use the Denavit-Hartenberg (D-H) 4x4 Link Matrix Calculator

  1. Enter joint angle θ, link offset d, link length a, and twist angle α.

Step-by-Step Example Calculation

Industrial Robot Joint Link

Input Values:

thetaDeg:45
dMeters:0.2
aMeters:0.35
alphaDeg:90
Worked Steps: Computes homogeneous 4x4 transformation matrix and end point (0.247, 0.247, 0.200) m.

Understanding Your Result

Outputs the 3x3 rotation submatrix and 3x1 Cartesian position vector of the subsequent link frame.

Factors That Affect the Result

  • Frame convention choices (standard DH vs modified Craig DH) alter the order of operations.

When Should You Use This Calculator?

  • Building kinematic forward kinematic chains for serial manipulators (e.g. 6-DOF industrial arms).

Assumptions & Limitations

  • Applies standard DH convention; rigid links without compliant joint bending.

Frequently Asked Questions

Calculation Accuracy & Reference Note

Standard robotic spatial matrix representation.

Explore more tools and calculators in Math Calculators