Forward Kinematics 2DOF

Enter two joint angles and two link lengths to instantly compute the end-effector position of a 2-link planar robot arm.

Use the Forward Kinematics 2DOF

Robot Parameters

Link Lengths

u
u

Joint Angles

deg
deg

Results

Elbow Position (Joint 2)

x1 —
y1 —

End-Effector Position

xee —
yee —

Arm Reach

Distance from origin —
Max reach (L1+L2) —

Link 2 Absolute Angle

θ1 + θ2 —
In radians —

Arm Diagram

Axes in link-length units
Copied!

Summary

This tool solves the forward kinematics problem for a 2-degree-of-freedom (2-DOF) planar robot arm. Given the two joint angles (theta1, theta2) and link lengths (L1, L2), it applies the standard FK equations to compute the Cartesian (x, y) coordinates of the end-effector. Both the intermediate joint position (elbow) and the final end-effector position are displayed, along with a live diagram showing the arm configuration.

How it works

  1. Enter the length of the first link (L1) in any consistent unit (e.g., meters or millimeters).
  2. Enter the length of the second link (L2) in the same unit.
  3. Enter the first joint angle (theta1) measured from the positive x-axis.
  4. Enter the second joint angle (theta2) measured relative to the first link.
  5. The tool applies the FK equations: x = L1*cos(theta1) + L2*cos(theta1+theta2) and y = L1*sin(theta1) + L2*sin(theta1+theta2).
  6. The computed elbow and end-effector positions are shown numerically and as a scaled diagram.

Use cases

  • Verify robot arm configurations during mechanical design.
  • Teach and learn forward kinematics concepts in robotics courses.
  • Quickly prototype path-planning calculations before coding.
  • Debug joint-angle setpoints in robot control systems.
  • Calculate reachability of a 2-link arm for a given workspace point.
  • Visualize how changing joint angles affects end-effector placement.

Frequently Asked Questions

Last updated: 2026-05-23 · Reviewed by Nham Vu