Tire Mechanics Simulator Back
Vehicle Dynamics

Tire Mechanics Simulator — Pacejka Magic Formula

Adjust slip angle, vertical load, and friction coefficient to visualize lateral force, longitudinal force, and the friction circle in real time. Understand cornering stiffness and grip limits intuitively.

Parameters
Slip Angle α (°)
°
Slip Ratio κ
Vertical Load Fz (N)
N
Friction Coefficient µ
Tire Preset
Pacejka Coefficients
B (Stiffness Factor)
C (Shape Factor)
E (Curvature Factor)
Results
0
Peak Fy (N)
0
Cα (N/°)
0
Mz est (Nm)
0
Current Fy (N)
0
Current Fx (N)
0
Grip Utilization (%)
Lateral Force Fy vs Slip Angle α
Longitudinal Force Fx vs Slip Ratio κ
Friction Circle — Tire Contact Patch Force Vector
Theory & Key Formulas
$$F_y = D\sin\!\bigl(C\arctan(B\alpha - E(B\alpha - \arctan(B\alpha)))\bigr)$$

D = µ·Fz, B=stiffness, C=shape, E=curvature

What is the Pacejka Magic Formula?

🙋
What exactly is this "Magic Formula" for tires? It looks like a complicated sine and arctan function.
🎓
Basically, it's an empirical equation that perfectly fits measured tire data. In practice, engineers needed one formula to predict lateral force ($F_y$) based on slip angle ($\alpha$). Instead of a simple linear model, this captures the real, nonlinear behavior—the initial grip build-up, the peak force, and then the drop-off. Try moving the "Slip Angle α" slider in the simulator above to see this exact S-shaped curve come to life.
🙋
Wait, really? So all those parameters (B, C, E, D) just shape that one curve? What does "D" stand for?
🎓
Exactly! Each parameter controls a specific feature. "D" is the peak value of the curve, which represents the maximum lateral force the tire can generate. In the Magic Formula, $D = \mu \cdot F_z$. That means the peak force depends directly on the friction coefficient ($\mu$) and the vertical load ($F_z$). For instance, a heavier car (higher $F_z$) or a grippier track surface (higher $\mu$) increases D. You can test this by increasing the "Vertical Load Fz" or "Friction Coefficient µ" in the simulator and watch the whole curve stretch upward.
🙋
That makes sense. But what's the "friction circle" shown in the other plot? How does it relate to this Magic Formula curve?
🎓
Great question! The friction circle visualizes a tire's total grip limit. A tire has a finite amount of friction to split between cornering (lateral force) and accelerating/braking (longitudinal force). The circle's radius is that maximum force, $ \mu F_z $ (which is our "D"). The Magic Formula curve tells you how much of that total grip you're using for cornering at a given slip angle. In the simulator, when you also adjust the "Slip Ratio κ" (for braking/acceleration), you'll see the combined force vector move inside the circle, showing how you trade off one force for the other.

Physical Model & Key Equations

The core of the simulator is the Pacejka Magic Formula, which calculates the lateral force $F_y$ generated by a tire as a function of its slip angle $\alpha$.

$$F_y = D\sin\!\bigl(C\arctan(B\alpha - E(B\alpha - \arctan(B\alpha)))\bigr)$$

Where:
• $F_y$ = Lateral (cornering) force [N]
• $\alpha$ = Slip angle [rad]
• $D$ = Peak factor = $\mu \cdot F_z$
• $B$ = Stiffness factor (controls the slope at $\alpha=0$)
• $C$ = Shape factor (typically ~1.3-1.6 for lateral force)
• $E$ = Curvature factor (influences the shape near the peak)

The friction circle concept is governed by the vector sum of lateral and longitudinal forces, limited by the maximum available friction force.

$$\sqrt{F_x^2 + F_y^2} \leq \mu F_z$$

Where:
• $F_x$ = Longitudinal force (from braking or acceleration) [N]
• $F_y$ = Lateral force [N]
• $\mu$ = Friction coefficient between tire and road
• $F_z$ = Vertical load on the tire [N]
This inequality means the combined force vector must stay inside a circle of radius $\mu F_z$. This is why a tire cannot brake hard and corner hard at the exact same time.

Real-World Applications

Vehicle Dynamics Simulation (CAE): This is the primary use. Automotive engineers embed the Magic Formula in software like Adams/Car or Simulink to predict how a vehicle will handle, brake, and accelerate long before a physical prototype is built. They tune the B, C, E parameters to match test data from specific tires.

Racing Telemetry Analysis: Race engineers use the friction circle plot to analyze driver performance. By plotting lateral vs. longitudinal g-forces from onboard sensors, they can see if a driver is using the tire's grip optimally through a corner or if they are "over-driving" and asking for more force than the tire can provide.

Advanced Driver-Assistance Systems (ADAS): Systems like Electronic Stability Control (ESC) need to know the tire's force limits to prevent skids. The controller estimates the available $\mu F_z$ based on conditions and uses a simplified version of the friction circle model to decide how to apply braking to individual wheels to keep the car stable.

Tire Design and Testing: Tire manufacturers perform thousands of tests on tire test rigs to measure force vs. slip angle curves. They then fit the Magic Formula to this data, creating a "tire model" that can be shared with car manufacturers for their simulations, allowing for collaborative development between tire and vehicle engineers.

Common Misconceptions and Points to Note

First, avoid assuming "the Magic Formula parameters are fixed constants specific to a tire." In reality, particularly D (peak factor) and B (stiffness factor) are strongly dependent on the vertical load Fz. For example, if the load doubles, the maximum lateral force D nearly doubles, but the cornering stiffness (initial slope) increases by more than double. Overlooking this nonlinearity will lead to significant errors in simulations of sporty driving with heavy load transfer. Use the tool's Fz slider to see how the shape of the graph itself changes.

Next, the misconception that "the friction circle is a perfect circle." A real tire's friction limit is not perfectly symmetric between longitudinal and lateral forces; it often resembles an ellipse. This stems from the tire's tread characteristics. While the Magic Formula itself has models that consider combined slip (simultaneous longitudinal and lateral slip), the circle shown in this tool is an idealization to help you understand the concept of a "combined force limit." In practice, more sophisticated combined slip models are necessary.

Finally, pitfalls when adjusting parameters. The four parameters B, C, D, and E interfere with each other. For instance, if you arbitrarily increase the D value just to raise the maximum lateral force, the initial slope of the graph (the effective cornering stiffness) will also change. To achieve the target characteristics, you need expertise such as using dedicated software for fitting experimental data or adjusting B and D in conjunction. Manually creating a "plausible curve" is good for learning but insufficient for replicating real vehicle data.

How to Use

  1. Set vertical load (Fz) using the slider—typical range 3000–5000 N for passenger cars, matching wheel corner loads.
  2. Adjust slip angle (α) from 0° to 15° to simulate steering input; observe lateral force (Fy) rise then plateau at peak grip.
  3. Introduce longitudinal slip ratio (κ) to model acceleration or braking; watch the friction circle shrink as combined slip reduces available cornering force.
  4. Vary friction coefficient (μ) to test asphalt (0.85–0.95), wet concrete (0.60–0.75), or ice (0.15–0.30) conditions.
  5. Monitor output metrics: peak Fy indicates maximum lateral capacity, cornering stiffness (Cα) shows initial linearity, grip utilization (%) reveals how close you are to tire limits.

Worked Example

A 1500 kg sedan (3750 N per corner) on dry asphalt (μ = 0.90) at 8° slip angle and zero longitudinal slip. The Magic Formula yields peak Fy ≈ 3200 N, Cα ≈ 120 N/°, and Mz (aligning torque) ≈ 85 Nm. Now add κ = 5% (light throttle): Fy drops to 2950 N as friction is shared between axes, grip utilization climbs to 94%. If μ drops to 0.50 (rain), the same 8° slip only produces Fy ≈ 1800 N and peak capacity halves—critical for ABS/TCS tuning.

Practical Notes

  1. Peak Fy occurs at 8–12° slip angle on dry roads; wet surfaces shift this to 6–10° with lower magnitude—use this to validate vehicle stability control thresholds.
  2. Cornering stiffness (Cα) governs understeer gradient; reduce load by 500 N and Cα drops ~8%, explaining how weight transfer changes handling balance mid-corner.
  3. Combined slip (α + κ simultaneously) follows the friction circle: Fy² + Fx² ≤ (μ·Fz)²—this constraint drives ESP intervention logic in production vehicles.
  4. Aligning moment (Mz) peaks before peak lateral force, triggering driver feedback through steering wheel torque; low-μ surfaces compress this window.