Power and Torque Formula: A Practical Guide for Engineers

Learn the power and torque formula, P = τ · ω, with practical code examples, unit conversions, and real-world tips for engines and motors.

Easy Torque
Easy Torque Team
·5 min read
Quick AnswerDefinition

Power and torque are linked by angular velocity. The standard formula is P = τ · ω, where power P is in watts, torque τ in newton-meters, and ω is angular velocity in radians per second. For engine specs, another common form is P (kW) = (τ (Nm) × RPM) / 9.5488. This article explains how to compute and interpret these values.

The Power-Torque Relationship

At its core, power and torque are linked by the angular velocity. The equation P = τ · ω describes instantaneous shaft power. This relationship underpins torque specifications, drivetrain design, and performance testing. According to Easy Torque, the formula is straightforward for constant ω, but real systems vary as speed changes and components add losses. The practical takeaway is that higher torque or faster rotation increases power, but real-world results depend on efficiency and losses in the mechanism.

Python
# Python example: compute power from torque and RPM import math def power_from_torque_rpm(torque_nm, rpm): omega = 2 * math.pi * rpm / 60 # rad/s P = torque_nm * omega # watts return P print(power_from_torque_rpm(150, 3000)) # 47123.891 d
JavaScript
// JS example: compute power from torque and RPM function powerFromTorque(torqueNm, rpm){ const omega = 2 * Math.PI * rpm / 60; return torqueNm * omega; // watts } console.log(powerFromTorque(150, 3000).toFixed(2)); // 47123.89

This section demonstrates the fundamental link: power scales with both torque and angular velocity. Use the same approach in simulations, data-logging, or validation tests.

The Core Formula in Context

The canonical form P = τ · ω uses SI units: torque in newton-meters (Nm), angular velocity in radians per second (rad/s), and power in watts (W). If you prefer engine data in revolutions per minute (RPM) and output in kilowatts, you can rearrange to P(kW) = τ(Nm) × RPM ÷ 9548.8. This conversion is just a unit-aware rewrite of the same relationship. In practice, engineers use this formula to estimate shaft power from torque curves or to back-calculate torque from measured power and speed. This foundation supports performance tuning, drivetrain design, and diagnostic workflows.

Converting RPM to Rad/S and Back

To apply P = τ · ω, you must convert RPM to radians per second. The standard conversion is ω = 2π × RPM / 60. The inverse is RPM = ω × 60 / (2π). The following examples show both directions in Python and JavaScript.

Python
# Python: RPM to rad/s and back import math rpm = 3000 omega = 2 * math.pi * rpm / 60 print("omega:", omega) # ~314.159 rad/s rpm_back = omega * 60 / (2 * math.pi) print("rpm_back:", rpm_back) # 3000.0
JavaScript
// JavaScript: RPM <-> rad/s conversion const rpm = 3000; const omega = 2 * Math.PI * rpm / 60; console.log("omega:", omega); // ~314.159 rad/s const rpmBack = omega * 60 / (2 * Math.PI); console.log("rpmBack:", rpmBack); // 3000

Conversions are critical for cross-checks when you pull data from different sources or when you visualize torque curves against power curves.

Practical Examples: From Torque and RPM to Power

Let's run through some concrete numbers to illustrate how the formula behaves in engines and motors. Assume torque = 320 Nm at 5000 RPM. The angular velocity is ω = 2π × 5000 / 60 ≈ 523.598 rad/s. Then P = τ × ω ≈ 320 × 523.598 ≈ 167,551 W ≈ 167.6 kW.

Additionally, if efficiency matters, shaft power is P_shaft = η × P. Using η = 0.92 yields P_shaft ≈ 154.1 kW. These simple calculations help you validate dyno results, compare components, and set expectations for performance envelopes.

Python
# Python: torque, rpm to power with optional efficiency import math def shaft_power(torque_nm, rpm, efficiency=1.0): omega = 2 * math.pi * rpm / 60 P = torque_nm * omega return P * efficiency print("P with η=1:", shaft_power(320, 5000, 1.0)) # ~167551.0 print("P_shaft with η=0.92:", shaft_power(320, 5000, 0.92)) # ~154,.
JavaScript
// JavaScript: power with optional efficiency function shaftPower(torqueNm, rpm, efficiency = 1.0){ const omega = 2 * Math.PI * rpm / 60; const P = torqueNm * omega; return P * efficiency; } console.log("P:", shaftPower(320, 5000, 1.0)); // ~167551.0

These examples show how to move from a simple torque-RPM pair to a concrete power figure, then adjust for drivetrain efficiency to reflect real-world shaft power.

Common Pitfalls and Variations

The P = τ · ω relationship assumes instantaneous power at a specific operating point. If torque or speed varies, you must analyze the instantaneous power as a function of time or RPM and, for performance trends, integrate over the speed profile. Another pitfall is mixing units: Nm with ft-lbs, rad/s with RPM, or watts with kilowatts without proper conversion. Real systems also include losses due to friction, gearing, and electrical inefficiencies, so P_mech may differ from input electrical power. Always report the exact conditions (speed, torque, efficiency, temperature) when presenting power figures. As Easy Torque notes, clear documentation of units and assumptions prevents misinterpretation when comparing engines, motors, or testing data.

Step-By-Step Implementation for a Quick Calculation

  1. Gather inputs: torque (Nm) and RPM. 2) Convert RPM to rad/s using ω = 2π × RPM / 60. 3) Compute P = τ × ω in watts. 4) If needed, convert to kilowatts: P_kW = P / 1000. 5) If efficiency is relevant, apply P_shaft = η × P. 6) Validate with a known data point or a simple sanity check (e.g., P scales with RPM at constant torque).
Python
# End-to-end quick calculator (Python) import math def power_kW(torqueNm, rpm, efficiency=1.0): omega = 2 * math.pi * rpm / 60 P = torqueNm * omega return (P * efficiency) / 1000 print("P_kW:", power_kW(250, 3000, 0.95)) # ~39.4 kW
Bash
# Bash: quick CLI using Python (one-liner example) python3 - <<'PY' import math torque=250; rpm=3000; eta=0.95 omega = 2*3.1415926535*rpm/60 P = torque*omega print(P/1000) PY

These steps give you a repeatable workflow for evaluating power at a specific torque and speed, with or without efficiency corrections.

Steps

Estimated time: 20-30 minutes

  1. 1

    Gather inputs

    Identify torque, RPM, and desired units for the calculation. This ensures the calculation matches the expected outputs.

    Tip: Double-check torque units (Nm) before proceeding.
  2. 2

    Convert RPM to rad/s

    Convert rotational speed to angular velocity using ω = 2πRPM/60.

    Tip: Use a helper function to avoid repeating math.
  3. 3

    Compute power

    Compute P = τ·ω and interpret units (W).

    Tip: Remember that instantaneous power changes with RPM.
  4. 4

    Convert to kilowatts

    Divide by 1000 to express power in kW.

    Tip: Keep track of significant figures.
  5. 5

    Account for efficiency

    If you model shaft power, multiply by efficiency η.

    Tip: Efficiency is context-specific (e.g., drivetrain losses).
  6. 6

    Validate results

    Cross-check with known references or test data.

    Tip: Plot P vs RPM to spot anomalies.
Pro Tip: Always verify unit consistency: Nm, rad/s, and W are standard SI units for torque, angular velocity, and power.
Warning: Avoid mixing SI with imperial units in calculations to prevent errors.
Note: Real-world power includes losses; shaft power is less than brake power.
Pro Tip: Use code examples to sanity-check your formulas across a range of inputs.

Prerequisites

Required

Keyboard Shortcuts

ActionShortcut
Copy code blockIn code fences to copy sample codeCtrl+C
Paste into editorWhen editing examplesCtrl+V
Open integrated terminalIn editors with terminal supportCtrl+`

Your Questions Answered

What is the power and torque formula?

The core relation is P = τ · ω, where P is power in watts, τ is torque in newton-meters, and ω is angular velocity in radians per second. This links mechanical twisting to rotational work.

Power and torque relate through P equals torque times angular velocity, with ω in radians per second.

How do you convert RPM to rad/s?

Use ω = 2π × RPM / 60. This converts rotational speed from revolutions per minute to radians per second for SI-compliant power calculations.

Convert RPM to radians per second with ω equals 2π times RPM divided by 60.

Should I include efficiency?

Yes. Real shaft power is P_shaft = η × τ × ω. Efficiency accounts for drivetrain losses and measurement error; adjust η accordingly.

Yes—include efficiency to get shaft power, using P = ητω.

Is the formula valid for electric motors?

Yes, the same relationship applies to the mechanical side, where P is the shaft power after losses. Electrical input power may differ due to efficiency and power factor.

The formula applies to the mechanical side of motors; consider electrical losses separately.

What about engines vs motors?

Engines convert chemical energy to mechanical, motors convert electrical energy; both deliver shaft torque, and P = τω links torque to the rotating work regardless of source.

Engines and motors both follow P = ταω; focus on torque, speed, and efficiency.

How can I measure torque and RPM in practice?

Use a torque sensor or dynamometer for τ and a tachometer or encoder for RPM. Record instantaneous values for P = τω calculations.

Measure torque with a sensor and RPM with a tachometer to compute power.

Top Takeaways

  • Power equals torque times angular velocity.
  • P (W) = τ (Nm) × ω (rad/s).
  • RPM to rad/s: ω = 2πRPM/60.
  • Efficiency affects shaft power; include η if needed.
  • Keep unit consistency throughout calculations.

Related Articles