LapLiftSign in

What is a theoretical best lap, and how is it calculated?

A theoretical best lap, also called an ideal or optimal lap, is the lap you would get by joining the fastest version of every part of the track you drove in a session. Each part comes from whichever lap did it best, so no lap you drove contains the whole thing.

This guide covers how the number is usually calculated, why it comes out quicker than you can drive, how to use the gap, and how LapLift builds its own version.

Create your free account

How a theoretical best is calculated

The common approach splits the lap into sectors, takes your fastest time through each sector from any lap in the session, and adds those times up. The total is the theoretical best, and it can never be slower than your fastest actual lap.

Three sectors give a coarse answer. Many short sectors pick up more of your best driving and assume more joins between pieces from different laps.

Why it comes out quicker than you can drive

The sum treats every piece as independent. The pieces are connected, because the speed you leave one sector with is the speed you enter the next one at.

  • You sometimes give up time in one sector on purpose, with a later apex that sets up a faster exit, so the quick sector after it only exists alongside the slow one.
  • A piece can look fast because of a clear track or tires at their best, and pieces from early and late laps come from different tire wear and track temperature.
  • Timing and GPS noise can shave a little off any one sector, and taking the minimum keeps the noise that helped you.

Read the total as a ceiling for the session. You can expect to get part of the way toward it.

Theoretical best versus rolling best

A rolling best is the fastest lap-length stretch of continuous driving in your data, with the start point free to land anywhere on the track instead of at the start/finish line. It can be quicker than your timed best lap when a good run straddled the line. A theoretical best goes further by joining pieces from separate laps, so it is usually quicker still.

The rolling best shows what you did in one run, and the theoretical best shows how much speed is scattered across your laps. LapLift calculates a Theoretical Best and does not calculate a rolling best.

How to use it

  • Compare it with your best lap: a big gap means your good driving is spread across many laps, and a small gap means little scattered speed is left.
  • Check which lap supplied each part of the track, then ask whether you can repeat that piece without paying for it on the next one.
  • Pick the one or two parts where your best lap is furthest from the stitched lap and work on those, instead of chasing the total.
  • Build it from laps taken on one tire and setup configuration, since pieces from before and after a change do not belong together.

How LapLift builds its Theoretical Best

LapLift cuts the lap at the mapped corners instead of into a few sectors. It uses its own reference map of the track and makes one piece for each mapped section, running from the start of one corner to the start of the next. Splits you draw yourself are not used.

  1. It takes the real laps in the session or the laps you pick, drops out laps and in laps, and skips any lap whose data does not cover a whole piece.
  2. It times every piece of every lap from that lap's speed over distance, and throws out times so fast they look like GPS glitches.
  3. It picks one lap for each piece so the total time is lowest, and it penalizes or rejects a combination when one piece ends at a speed the next piece could not plausibly begin at.
  4. It joins the chosen pieces into one speed trace and blends each join over a short distance. The map line is not blended, so every stretch of the path comes from a lap that drove it.
  5. It checks the joined trace against the car's grip. From the braking, acceleration and cornering forces recorded in your own laps, it works out what the car showed it could do, and it slows any stretch that asks for more.
  6. It works out the lap time from the checked speed trace, not from the sum of the piece times, and it never reports a time slower than your fastest real lap in the set.

The grip check is what a plain sector sum lacks, since a sum cannot notice that a join asks for more change in speed than the car can make. The check only ever slows the trace. When the limits cannot be worked out reliably from the laps, for example when the logger recorded no lateral g, LapLift instead caps any single jump in speed over 2 g.

If the stitched result still comes out implausibly faster than your best source lap, LapLift does not save it. None of this removes luck or the trade-offs between corners, so it remains a ceiling.

What you see in LapLift

  • On upload, LapLift builds one for you when the track's corners are mapped and the session has at least three real laps.
  • It shows in the lap list as a Theoretical Best, drawn dashed on the speed chart and on the track map.
  • Throttle, brake and the other input charts leave it out, because those values would come from different laps.
  • On desktop, right-click a lap and choose Generate Theoretical Best to build one from the laps you ticked or every lap in the selected sessions, with at least three laps either way.
  • After a right-click build, the Split Times panel lists which lap supplied each section.
  • It is never counted as your best lap or your top speed.

Questions

What is a theoretical best lap?

It is the lap you get by joining your fastest version of every part of the track from different laps in a session. No single lap you drove contains all of those pieces, so it is quicker than your best lap unless one lap was fastest everywhere.

How is theoretical best calculated?

The common method adds your fastest sector time from any lap. LapLift cuts the lap at mapped corners, picks one lap per piece, joins the pieces, checks the result against the grip the car showed on your laps, and times the checked speed trace.

Can I drive my theoretical best lap?

Rarely. It joins your best moments together, with luck and the trade-offs between corners included. Treat it as a ceiling for the session and work on the corners where it is furthest from your best lap.

What is the difference between theoretical best and rolling best?

A rolling best is your fastest lap-length run of continuous driving, starting anywhere on the track. A theoretical best joins pieces from separate laps, so it can be quicker. LapLift builds the second and does not calculate the first.

Keep reading

How to read a speed trace →What is vMin? Minimum corner speed, explained →Customize your track's sectors (splits) →Compare two laps →Browse tracks →

Free, in your browser. Nothing to install.

Create your free account