Denavit-Hartenberg parameters are four kinematic quantities—link length (a), link twist (α), joint offset (d), and joint angle (θ)—that systematically define a coordinate frame attached to each link. This convention provides a minimal representation for the homogeneous transformation matrix between adjacent links, enabling the unambiguous calculation of a robot's forward kinematics. The method's standardization is critical for modeling, control, and simulation of articulated systems.
Glossary
Denavit-Hartenberg Parameters

What is Denavit-Hartenberg Parameters?
The Denavit-Hartenberg (D-H) parameters are a standardized convention for defining the relative position and orientation of consecutive links in a robotic manipulator or any serial kinematic chain.
The convention exists in two primary forms: the standard (or proximal) D-H parameters and the modified (or distal) D-H parameters, which differ in where the coordinate frame is attached relative to the joint axis. These parameters are foundational for deriving the Jacobian matrix for velocity analysis and are integral to algorithms for inverse kinematics and inverse dynamics, forming the mathematical backbone for robotic simulation and control pipelines.
The Four DH Parameters
The Denavit-Hartenberg (DH) convention is a standardized method for assigning coordinate frames to the links of a serial robotic manipulator. It defines four parameters that completely describe the transformation between consecutive links, enabling systematic kinematic analysis.
Link Length (aᵢ₋₁)
The link length is the perpendicular distance measured along the common normal from the Zᵢ₋₁ axis to the Zᵢ axis. It represents the shortest distance between the two joint axes.
- Definition: Distance from Zᵢ₋₁ to Zᵢ along Xᵢ.
- Physical Meaning: For a rotary joint, it is the length of the physical link connecting the joints. For parallel axes, it is zero.
- Example: In a simple 2D planar arm, this is the literal length of the link between two revolute joints.
Link Twist (αᵢ₋₁)
The link twist is the angle between the Zᵢ₋₁ axis and the Zᵢ axis, measured about the Xᵢ axis using the right-hand rule.
- Definition: Angle from Zᵢ₋₁ to Zᵢ about Xᵢ.
- Physical Meaning: It describes the 'twist' or angular offset between the rotational axes of two consecutive joints.
- Example: In a standard industrial robot, if two adjacent revolute joints have axes that are perpendicular, the link twist is 90 degrees (π/2 radians).
Joint Offset (dᵢ)
The joint offset is the distance measured along the Zᵢ₋₁ axis from the origin of frame {i-1} to the intersection point of the Zᵢ₋₁ axis and the common normal (Xᵢ axis).
- Definition: Distance along Zᵢ₋₁ to the common normal.
- Physical Meaning: For a prismatic (sliding) joint, this is the variable joint parameter. For a revolute joint, it is a constant offset along the joint axis.
- Example: In a SCARA robot, this parameter defines the vertical offset between the horizontal arm links.
Joint Angle (θᵢ)
The joint angle is the angle between the Xᵢ₋₁ axis and the Xᵢ axis, measured about the Zᵢ₋₁ axis using the right-hand rule.
- Definition: Angle from Xᵢ₋₁ to Xᵢ about Zᵢ₋₁.
- Physical Meaning: For a revolute (rotary) joint, this is the variable joint parameter. For a prismatic joint, it is a constant angle.
- Example: In a simple 1-degree-of-freedom hinge, this angle is the primary control variable for the robot's pose.
The Homogeneous Transformation
Each DH parameter is used to construct an elementary transformation matrix. The complete transformation from frame {i-1} to frame {i} is the product of four sequential transformations:
ⁱ⁻¹Tᵢ = Rot(Z, θᵢ) * Trans(Z, dᵢ) * Trans(X, aᵢ₋₁) * Rot(X, αᵢ₋₁)
- This 4x4 homogeneous transformation matrix contains both the rotation and translation between the two link coordinate frames.
- The forward kinematics of the entire manipulator is found by chaining these matrices:
⁰T_N = ⁰T₁ * ¹T₂ * ... * ᴺ⁻¹T_N.
Standard vs. Modified DH
Two primary conventions exist: Standard (Classic) DH and Modified DH (introduced by Craig). They differ in where the link frame is attached and the order of parameter definitions.
Key Differences:
- Frame Attachment: In Standard DH, frame {i} is attached to link i at the far end of the link. In Modified DH, frame {i} is attached to link i at the near end.
- Parameter Indexing: The associated parameters (a, α) are indexed differently relative to the link number.
- Usage: Standard DH is common in older textbooks. Modified DH is often preferred in modern robotics software (e.g., ROS, MATLAB Robotics Toolbox) for its algorithmic simplicity in deriving dynamics.
How DH Parameters Work in Practice
Denavit-Hartenberg (DH) parameters are a standardized convention for assigning coordinate frames to the links of a robotic serial chain and defining the four parameters (link length, link twist, joint offset, joint angle) that describe the transformation between consecutive links.
In practice, engineers first assign a DH coordinate frame to each link of a serial manipulator using a strict set of rules. The four DH parameters—link length (a), link twist (α), joint offset (d), and joint angle (θ)—are then measured or defined for each joint. These parameters are inserted into a standard 4x4 homogeneous transformation matrix, which mathematically describes the position and orientation of one link's frame relative to the previous link's frame. This systematic approach creates a clear kinematic model.
The primary application is forward kinematics, where substituting the current joint angles (for revolute joints) or offsets (for prismatic joints) into the chain of transformation matrices calculates the end-effector's pose. This model is also foundational for inverse kinematics and Jacobian calculations used in velocity control and dynamics. The standardization provided by the DH convention ensures consistency and simplifies the programming of robotic motion across different manipulator designs and simulation environments.
DH Parameters vs. Alternative Conventions
Comparison of the standard Denavit-Hartenberg (DH) convention with other common methods for defining coordinate frames and transformations in serial robotic manipulators.
| Feature / Parameter | Standard DH (Modified DH) | Hayati (S Model) | Screw Theory (Exponential Coordinates) | Product of Exponentials (PoE) | ||
|---|---|---|---|---|---|---|
Primary Reference | Denavit & Hartenberg (1955), Craig (Modified, 1986) | Hayati & Mirmirani (1985) | Murray, Li, Sastry (1994) | Brockett (1984), Park & Bobrow (1994) | ||
Frame Assignment | Frames on joint axes (z_i). Origin at intersection of a_i and z_i, or along common normal. | Frames can be assigned with two parallel joint axes, uses an extra parameter. | No intermediate link frames required. Uses a base frame and joint screws. | Similar to Screw Theory; defines transformations relative to a base frame. | ||
Number of Parameters per Joint | 4 | 5 | 6 | Screw Axis) | 6 | Screw Axis) |
Parameters | Link length (a_i), Link twist (α_i), Joint offset (d_i), Joint angle (θ_i) | a_i, α_i, d_i, β_i (additional rotation about y), θ_i | Screw axis (ω, v), Joint displacement (θ or d) | Screw axis (ξ), Joint displacement (θ or d) | ||
Singularity Handling | Singular at parallel consecutive z-axes (α_i = 0). | Explicitly designed to model parallel/consecutive joints without singularity. | No inherent singularities from parameterization. | No inherent singularities from parameterization. | ||
Modeling Prismatic & Revolute Joints | ||||||
Homogeneous Transformation Form | A_i = Rot(z,θ_i) * Trans(z,d_i) * Trans(x,a_i) * Rot(x,α_i) | A_i = Rot(z,θ_i) * Trans(z,d_i) * Trans(x,a_i) * Rot(x,α_i) * Rot(y,β_i) | g = exp([ξ]θ) for revolute, or exp([ξ]d) for prismatic. | g = exp([ξ_1]θ_1) * ... * exp([ξ_n]θ_n) * g(0). | ||
Primary Application Context | Classical industrial robotics, textbook kinematics. | Robots with spherical wrists or two consecutive parallel joints. | Modern robotics theory, unified treatment of kinematics/dynamics. | Analytical kinematics, closed-form solutions, Lie group theory. |
Frequently Asked Questions
Denavit-Hartenberg (DH) parameters are the standard convention for describing the geometry of serial robot manipulators. These FAQs address their definition, application, and role in simulation and robotics.
Denavit-Hartenberg (DH) parameters are a standardized convention for assigning coordinate frames to the links of a serial robotic manipulator and defining the four parameters that describe the transformation between consecutive links. This convention provides a systematic method to derive a robot's forward kinematics, which calculates the position and orientation of the end-effector from given joint angles. The four parameters are: link length (a), the distance along the common normal between joint axes; link twist (α), the angle between joint axes measured about the common normal; joint offset (d), the distance along the joint axis between common normals; and joint angle (θ), the angle between common normals measured about the joint axis. For revolute joints, θ is the variable; for prismatic joints, d is the variable.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Denavit-Hartenberg (DH) parameters are foundational for describing robotic kinematics. The following terms are essential for understanding the broader context of rigid body motion, constraint solving, and dynamic simulation in which DH conventions are applied.
Forward Kinematics
Forward kinematics is the process of calculating the position and orientation of a robot's end-effector from its joint angles and the known geometry of its links. The Denavit-Hartenberg (DH) convention provides the standardized method for building the homogeneous transformation matrices between consecutive links, which are then multiplied together to compute the final end-effector pose. This is a fundamental prerequisite for path planning and operational space control.
- Input: Set of joint variables (angles for revolute joints, displacements for prismatic joints).
- Output: Position (x, y, z) and orientation (roll, pitch, yaw) of the end-effector in the base frame.
- Core Computation: Sequential multiplication of DH transformation matrices: (^0T_N = ^0T_1 * ^1T_2 * ... * ^{N-1}T_N)
Inverse Kinematics
Inverse kinematics (IK) is the reverse problem of forward kinematics: determining the set of joint angles required to achieve a desired end-effector position and orientation. While DH parameters define the kinematic structure, solving IK is non-trivial and often involves:
- Analytical solutions: Closed-form equations derived from the specific robot geometry (possible for many serial chains with 6 or fewer DOF).
- Numerical solutions: Iterative algorithms (e.g., Jacobian-based methods) used for complex or redundant manipulators.
- Application: Essential for robot control, as high-level tasks are specified in task space (e.g., "move gripper here"), but actuators are controlled in joint space.
Jacobian Matrix
The Jacobian matrix is a linear mapping that relates joint velocities to the linear and angular velocity of the end-effector in task space. For a robot defined using DH parameters, the Jacobian is derived from the partial derivatives of the forward kinematics equations.
- Function: ( \dot{x} = J(q) \dot{q} ), where (\dot{x}) is the task-space velocity vector and (\dot{q}) is the joint-space velocity vector.
- Uses: Velocity-based control, singularity analysis, and force transformation (via the transpose of the Jacobian).
- Singularities: Configurations where the Jacobian loses rank, indicating a loss of mobility in certain directions. DH parameterization helps identify these conditions analytically.
Featherstone Algorithm
The Featherstone Algorithm (Articulated Body Algorithm) is an efficient O(n) recursive method for computing the forward dynamics of articulated rigid body systems, such as robotic manipulators. While DH parameters define the kinematic structure, the Featherstone algorithm computes the dynamics—the joint accelerations resulting from applied forces/torques.
- Efficiency: Avoids constructing and inverting the large, dense mass matrix of the whole system.
- Process: Performs a recursion from the base to the tips to compute velocities and inertias, then a recursion from the tips back to the base to compute accelerations.
- Context: This is the dynamic counterpart to the purely kinematic description provided by DH parameters.
Spatial Vector Algebra
Spatial Vector Algebra is a compact 6D mathematical framework that combines linear and angular components to describe rigid body motion, forces, and inertias. It provides a more elegant and efficient notation for formulating dynamics algorithms (like the Featherstone algorithm) compared to traditional 3D vector approaches.
- Spatial Velocity: Combines angular velocity and linear velocity into a 6D vector.
- Spatial Force: Combines torque and force into a 6D vector.
- Relation to DH: DH parameters define the kinematic transformations between links. Spatial vector algebra uses these transformations (as 6D spatial transforms) to propagate velocities, accelerations, and forces across the kinematic chain during dynamic computation.
Operational Space Control
Operational Space Control is a robotics control framework where control laws are formulated directly in the task space (e.g., Cartesian coordinates of the end-effector) rather than in joint space. This provides a more intuitive interface for commanding complex behaviors like force-controlled insertion.
- Foundation: Relies heavily on the robot's kinematic model (defined by DH parameters) and its Jacobian.
- Key Equation: The control torque (\tau) is computed as (\tau = J^T F), where (F) is the desired force in task space and (J^T) is the transpose of the Jacobian. This maps task-space forces to joint-space torques.
- Benefit: Allows for natural specification of tasks ("apply a force along this axis") while automatically handling the kinematic coupling between joints.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us