John Davis

Written by John Davis


How to Calculate and Predict When You’ll Hit the Wall During a Marathon

Hitting the marathon wall” is a much-feared and much-discussed phenomenon in marathoning.  Runners speak ominously about a sudden wave of fatigue that sets in at about 20 miles into a marathon.  At this point, they say, the race is half over.

Contending with the wall is a problem whether you’re an elite runner or recreational jogger.

Thanks to research by exercise physiologists, we know that runners “hit the wall” because they run out of carbohydrates stored in their body and have to suddenly shift to burning mostly fat to keep them going (recap on the science of bonking and glycogen depletion)

Understanding where the wall comes from is one thing, but predicting it and determining how to overcome it is a bit more challenging.

Today, we’ll take a look at the efforts of one researcher to develop a mathematical model which can predict whether you’ll hit the wall in your next marathon, and where exactly you’ll hit it.

Rapoport’s energy consumption model

The researcher, Benjamin Rapoport, is an MD-PhD candidate at Harvard and MIT.  In 2010, he published a paper which described his model for tracking the energy consumption of a marathon runner.

The premise of Rapoport’s model is fairly simple: it takes a certain amount of energy per mile and per pound of body weight to move a runner from point A to point B.  Converting to metric, this amount is conveniently about one calorie (as in food calories) per kilogram of body mass per kilometer of running.

This would mean a 150-pound runner requires around 110 calories per mile, regardless of pace.

But, there are also two more variables to consider above simply weight and distance:

Energy expenditure from fat

In Rapoport’s model, the per-mile energy expenditure of runners doesn’t vary based on the speed they run, but where they get their energy from does.

Though runners mostly think about carbohydrates as their principle energy source, a significant portion of your energy expenditure while running a marathon comes from fat.

At easy paces, you burn more fat; as you run faster, your body begins to rely more heavily on carbohydrates.  So, on a typical easy run, you might be burning 60% carbs and 40% fat.  But in a 5k race, well over 90% of your energy is going to be coming from carbs—you just can’t burn fat quickly enough to produce enough energy to run 5k pace.

Keep in mind that hitting the wall happens when you run out of carbs (your fat supply is effectively unlimited), so to predict if and when this will happen, we need to know how fast you’re running.


The final variable in the mathematical model estimates how much energy you have stored up in your body in the form of carbohydrates.

There are two sources for your body to access carbs when you run: carbs stored in your liver, and carbs stored in your leg muscles.

According to Rapoport, the size and energy density of the liver are tightly regulated by the body, so this amount is only dependent on your body mass (as the liver makes up about 2.5% of your weight).  The energy stored in your leg muscles also depends on your body mass, but also the size of your legs and the density of carbohydrates stored in them.

The equation

Rapoport provides a range of typical values for each of these: for most people, leg muscles make up about 21% of their body mass, and a typical runner stores about 36 calories worth of carbs per pound of muscle.

By doing some simple algebra, we can create an equation to calculate how far you can run before you expend all of your carbohydrate energy and hence hit the wall.

Once you’ve used up your energy stores in your liver and your legs, you can go no further—at least, not without a massive shift in carbohydrate consumption and likely a massive drop in speed as well.

Calculating when you will hit the wall

Rapoport’s model is best displayed as a graph, reproduced below.

The only inputs you need to figure out are the relative speed you intend to run your marathon at, expressed as a percentage of your VO2 max, and the amount of carbs stored up in your leg muscles.  Surprisingly, body weight doesn’t factor into the final result: although heavier runners require more energy to cover a given distance, they also (at least in this model!) have more carbohydrates stored up in their body.

Figuring out your pace as a percent of your VO2 max sounds tricky, but it’s not too hard.

We can use your pace in an all-out two-mile race as a pretty good estimate of your VO2 max pace, then figure out your marathon pace as a percent.  Haven’t run the two-mile since high school? Multiply your 5k time, in minutes, by 0.63 to get an estimate of what you can run for two miles.

Let’s say you’ve run 25:00 for the 5k and are hoping to run your next marathon under 4 hours in 3:55

  1. An 25:00 5k multiplied by 0.63 gives us about 15:57 for two miles, or 7:39 mile pace—that’s your VO2 max speed.
  2. Dividing your VO2 max pace by your goal marathon pace (9:00 per mile) tells us the relative intensity you’ll be running at.  In this case, it’s 0.83, or 83% of your VO2 max. According to the scientific literature, most people are able to run a marathon at 60-85% of their VO2 max.

Elites and experienced runners tend to be on the higher end of this scale, and less experienced runners tend to be on the lower end.

Figuring out how much carbohydrates your muscles have stored up is more complicated—it’s not something we can estimate with easy-to-measure numbers like your 5k PR.  Instead, we’ll create three different scenarios:

  • A conservative estimate which assumes our leg muscles don’t have very much stored carbs,
  • A middle-of-the-road estimate which uses typical carb storage values from scientific studies of endurance athletes, and
  • A generous estimate, which uses carb storage values from “carbo-loaded” athletes who have consumed a lot of carbs before their event.

With this information, we can predict a range of points when you’ll hit the wall.

hitting the wall marathon

In the graph above, the red curve depicts the conservative estimate, the orange curve depicts the typical estimate, and the green curve depicts the generous or “carbo-loaded” estimate.  The gray shaded region represents the typical range of speeds that marathoners can maintain for the duration of the race—60-85% of their VO2 max.

Once we know what percentage of VO2 max pace we wish to run at for our marathon, we can draw a vertical line to each curve to determine where we’ll hit the wall in each scenario.

In our example from earlier of the 25:00 5k runner shooting for a 3:55 marathon, we know that he’s going to be running at 83% of VO2 max.  In this case, drawing a vertical line (marked on the graph in dark gray) up from 83% of VO2 max pace shows that, in the conservative scenario, our runner will hit the wall at a bit over 17 miles into the race.

If his muscle energy stores are more in line with that of a trained athlete, he could make it all the way to 23 miles before he hits the wall.  And if he’s done some carbo-loading in the days before the race and has above-average carbohydrate storage in his leg muscles, he could make it all the way to the finish without hitting the wall.

Conclusion and limitations

Rapoport concludes his study with a few words of caution: this model is a simplistic one, and glosses over some important details.

To name just one, this model assumes that all runners have about the same amount of muscle mass in terms of percentage of their body weight—something that isn’t true in the real world!

Rapoport calculates that the uncertainty associated with his model should be around 5-10%, meaning our predicted “wall” timings could be off by one or two miles.

Considering this, it’s best to use the conservative estimate—the red line—as a starting point for planning out your next marathon race.  Also keep in mind that even this conservative estimate might be off by a mile or two.

So, you’ve done the math, checked the chart, and found out that you’re probably going to hit the wall in your next marathon.  But what can you do about it—how do you figure out how much carbs to take and when to take them? That’s what we’ll look at next time!

Free Marathon Nutrition Course

The Simple 3 Step Calculation To Vanquish The Marathon Bonk

Here’s what we’ve got for you

How to calculate your exact glycogen storage and carbohydrate use so you know exactly how much you have to refuel

How to calculate your sweat loss and re-hydration rate to maintain optimal performance.

How to develop your individualized fueling plan using you sweat rate and glycogen usage.


1. Rapoport, B. I., Metabolic Factors Limiting Performance in Marathon Runners. PLoS Computational Biology 2010, 6 (10), e1000960.
2. Maughan, R. J.; Leiper, J. B., Aerobic capacity and fractional utilisation of aerobic capacity in elite and non-elite male and female marathon runners. European Journal of Applied Physiology and Occupational Physiology 1983, 52 (1), 80-87.
3. Daniels, J., Daniels' Running Formula. 2 ed.; Human Kinetics: 2005.

Connect with Jeff Gaudette on Google+

11 Responses on “How to Calculate and Predict When You’ll Hit the Wall During a Marathon

  1. Great article and tool. I’ve been trying to work out soemthing like this prior to my last few races and never felt like I had it quite right. The article helped answer some of my questions and the spreadsheet is a great resource. Great post!

  2. Hi there!

    Pretty good articles you are having, which I read with interest every now and then (i.e. when time allows, between home, work, running and all the rest…). Still have a few on the list to read.

    This particular one was quite interesting… and surprising.. Indeed, all calculators may have their flaws, but when entering my values… I apparently get a warning saying: “WARNING: This marathon time is unrealistic for your fitness level!” Values I entered is my best 5K done early January during an interval run (and this is actually my 5K-PB… as I have never run 5K race) and my most recent marathon time done this January (which is my new PB as well, first sub3 of (I hope) a serie… :)… So, I know I can do the 5K and I can do the 26.2miles, but the calculator is telling me that is not realistic…
    To skip the warning I would have to get my 5K…1min20sec faster than what I do currently… (which is not directly feasible I think at this moment…).

    SO, I think I keep on my training program, knowing I have (apparently) super powers (?) allowing me to do the unrealistic.

    (and yes, I will probably continue to strive going down in my marathon time as well as shorter distances as well, independently of what the calculator says…).


    • Thanks for the input, Kari. The reason for this is that the 5k is not a realistic or accurate time for you. As you mentioned, it was during a workout and you were in marathon training. This means it wasn’t a real “race” and thus not an accurate representation of your fitness. I think if you were to train for and race a 5k specifically you’d find the times line up well.

  3. Jeff – Thanks so much for this article and the calculator. In two previous marathons and one water-only long run I hit the wall right at the point predicted by the calculator. I did not have a plan in the marathons for fuel and I did not know it was necessary in the long run. Your calculator gives me an exact fuel plan for my next marathon on September 13th. Thanks! Thanks! Thanks!!

  4. Unlike vapour, smoke lingers leaving a highly recognisable smell.
    All around the globe you can find sinus infection sufferers, individuals like you which simply
    want to breath without difficulty and they are confused with what to use.
    Modern-day research suggests that it may also be effective when treating cold, flu and congestive bronchial ailments.

  5. excellent article !!! What I could not figure out so far is the differences in percentage of energy from fat burning between an untrained person and a trained person. Or in other words: by how much can I increase my fat burning capacity e.g. by doing long runs? The app. 2000kcal of carbohydrates stored in the body and the 200-300 kcal per hour a person can maximum absorb leaves only the amount of energy from fat to run a faster marathon.

    • Hi Stefan, glad you enjoyed. We actually hold a course for nutrition, that may of great interest to you, and will help you predict how to run your fastest marathon by fueling correctly. We have had a lot of success with it, and many very very happy runners. You can check it out here;

      If not, here is another post on the science behind fueling for the marathon that you may enjoy. Hope this helps!

  6. Hi, there,

    In the section of Carbohydrates, it says “There are two sources for your body to access carbs when you run: carbs stored in your liver, and carbs stored in your leg muscles.”

    In the section of The Equation, it says “Rapoport provides a range of typical values for each of these: for most people, leg muscles make up about 21% of their body mass, and a typical runner stores about 36 calories worth of carbs per pound of muscle.”

    I can then calculate how much the calories is stored in the leg muscles, but I cannot find how to calculate how much calories stored in the liver. Am I missing anything?

    Cambridge, the UK

  7. After I originally left a comment I appear to have clicked the -Notify
    me when new comments are added- checkbox and from now on whenever a comment is added I recieve 4
    emails with the exact same comment. Is there an easy method
    you are able to remove me from that service? Kudos!

Leave a Reply

Your email address will not be published. Required fields are marked *

Adding new comments is only available for RunnersConnect Insider members.

Already a member? Login here

Want to become an Insider for free? Register here