Forward Kinematics Calculator

Model robot arms with DH parameters and joint types. Get pose, matrices, and angles fast. Export results for reports, audits, and repeatable engineering decisions.

Calculator

Enter Denavit–Hartenberg parameters per joint, then calculate the end-effector pose.
Limits: 1–6 joints.
Changing this updates the table.
Angles remain in degrees.
Example uses a 3-link planar arm.

DH parameter table

Joint Type a (m) α (deg) d (m) θ (deg)
1
2
3

For prismatic joints, enter the current extension in d. For revolute joints, enter the current angle in θ.

Example data

This example produces a valid pose and is useful for testing exports.

JointTypeaα (deg)dθ (deg)
1Revolute0.3000.1530
2Revolute0.2500.0045
3Revolute0.1000.00-20

Formula used

For each joint i, the Denavit–Hartenberg transform is:

Ai = [ cosθ -sinθ cosα sinθ sinα a cosθ ]
      [ sinθ cosθ cosα -cosθ sinα a sinθ ]
      [ 0 sinα cosα d ]
      [ 0 0 0 1 ]

The end-effector transform is the product: T = A1 · A2 · ... · An. Position is p = [T14, T24, T34].

How to use this calculator

  1. Choose the number of joints for your mechanism.
  2. Select your length units for a and d.
  3. Enter DH parameters for every joint row.
  4. Press Submit to compute the pose.
  5. Use the download buttons to export results.

FAQs

1) What does forward kinematics compute?

It computes the end-effector pose from joint values and geometry. The output is position and orientation, usually as a 4×4 homogeneous transform.

2) Which DH convention is used here?

This uses the standard Denavit–Hartenberg matrix with parameters a, α, d, θ. Angles are in degrees and lengths are in your selected units.

3) How do I treat revolute vs prismatic joints?

For revolute joints, θ changes and d is typically constant. For prismatic joints, d changes and θ is typically constant. Enter the current value in the corresponding field.

4) Why can my result look incorrect?

Common issues include wrong frame assignment, swapped α sign, mixing degrees and radians, or using modified DH parameters. Re-check your link frames and parameter definitions.

5) What are the Euler angles shown?

They are ZYX yaw-pitch-roll angles extracted from the rotation matrix. Near pitch ±90°, yaw/roll can become coupled due to a kinematic singularity.

6) Can I export intermediate joint transforms?

This page exports the final pose plus the input table. If you need per-joint transforms, compute each Ai and cumulative product in your workflow.

7) What joint count is supported?

Up to six joints are supported to fit many common robot arms. If you need more, extend the joint rows and multiply additional DH matrices.

Related Calculators

torque to force calculatorpneumatic cylinder force calculatordynamic force calculatorstepper motor speed calculatorrobot speed calculatorultrasonic distance calculatorservo motor torque calculatorlinear actuator force calculatoractuator stroke length calculatorrobot arm torque 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.