What is the Mathis Equation

Table of Contents

he Mathis Equation is a mathematical model used in computer networking to estimate the maximum throughput of a TCP (Transmission Control Protocol) connection. It demonstrates how packet loss and round-trip time (RTT) affect the amount of data that can be transferred across a network.

The equation was developed by Matt Mathis and colleagues as part of research into TCP congestion control. It remains one of the most widely referenced models for understanding TCP performance.

The Mathis Equation

The equation is commonly written as:

Throughput ≈ MSS / (RTT × √p)

Where:

  • Throughput = Maximum TCP data transfer rate
  • MSS (Maximum Segment Size) = The largest amount of data sent in a single TCP packet
  • RTT (Round-Trip Time) = The time it takes for a packet to travel to the destination and back
  • p = Packet loss rate (expressed as a decimal, such as 0.01 for 1%)

A more complete version of the equation includes a constant to account for TCP behaviour:

Throughput ≈ (C × MSS) / (RTT × √p)

where C is typically around 1.22 for standard TCP implementations.

Why Is the Mathis Equation Important?

The Mathis Equation shows that TCP throughput is influenced by two key network characteristics:

  • Higher packet loss significantly reduces throughput.
  • Higher latency (RTT) also reduces throughput.

Perhaps the most important takeaway is that throughput decreases in proportion to the square root of packet loss. Even a small increase in packet loss can have a noticeable impact on network performance.

Example

Suppose a network has:

  • MSS = 1,460 bytes
  • RTT = 100 ms (0.1 seconds)
  • Packet loss = 1% (0.01)

Using the Mathis Equation, the estimated TCP throughput would be approximately 1.4 Mbps. If packet loss increased to 4%, the throughput would fall by roughly half, even though the available bandwidth had not changed.

What the Equation Demonstrates

The Mathis Equation highlights several important networking principles:

  • Low packet loss is critical for maintaining high TCP performance.
  • Reducing latency improves data transfer speeds.
  • Increasing available bandwidth alone will not overcome packet loss.
  • Long-distance, high-latency connections require exceptionally low packet loss to achieve maximum throughput.

Limitations

The Mathis Equation is an approximation rather than an exact predictor of performance. It assumes a steady-state TCP connection using traditional congestion control algorithms and does not account for:

  • Modern TCP variants such as CUBIC or BBR
  • Temporary network congestion
  • Application-level limitations
  • Multiple simultaneous TCP connections
  • Quality of Service (QoS) or traffic shaping

Despite these limitations, it remains a valuable tool for estimating TCP performance and understanding why even minor packet loss can dramatically affect real-world download and upload speeds.