{"calculator":{"slug":"outer-lane-workout-calculator","math":{"href":"https://www.tracktoolspro.com/api/calculators/outer-lane-workout-calculator","jsonPointer":"/calculator/math","version":"2026-10-21.1","implementationVersion":"b5a8aca7b85361476e0321a08b7fa5f516fc9535","scope":"Canonical HTTP function and documented corresponding mounted-form math. This is public inspectable documentation, not access control or independent empirical validation.","unitNotation":"Input paths use [] and *; output paths are JSON Pointers with * (one segment) and ** (descendants). Empty output path denotes scalar result. Units apply to numeric quantities or explicitly described numeric strings; labels/statuses/booleans are dimensionless. More specific units, including count/index exceptions, override broad patterns.","interfaceNotes":["HTTP input is described by the adjacent inputSchema. The original handlers may accept numeric strings; this metadata adds no validation.","Mounted forms accept displayed clock/unit strings and enforce their own limits. Mounted tools limit strings to 200 characters and numeric parts to magnitude 1000000. Do not assume mounted/API input interchangeability.","Some legacy extreme/invalid tuples can produce null/empty results or nonfinite numbers serialized as null. Those are unavailable answers, not exact numerical predictions. Per-calculator domain describes the intended mathematical inputs."],"kind":"geometry-and-arithmetic","implementationFiles":["lib/formulas/outer-lane.ts"],"equations":["Geometry: lapMeters=laneOneLapMeters+2*pi*((lane-1)*laneWidthMeters+outerOffsetMeters-laneOneOffsetMeters), except lane1 stays unchanged. Measured mode uses measuredLapMeters and no geometry.","q=targetDistanceMeters/lapMeters; fullLaps=floor(q), remainderMeters=targetDistanceMeters-fullLaps*lapMeters. If q is within 8*EPSILON*max(1,q) of an integer, use that integer and zero remainder.","fullLapSeconds=targetTimeSeconds*lapMeters/targetDistanceMeters; remainderSeconds=targetTimeSeconds*remainderMeters/targetDistanceMeters; pace perkm/mile uses 1000/1609.344m."],"inputUnits":{"measuredLapMeters":"m","lane":"dimensionless index/count","laneWidthMeters":"m","laneOneLapMeters":"m","laneOneOffsetMeters":"m","outerOffsetMeters":"m","targetDistanceMeters":"m","targetTimeSeconds":"s"},"outputUnits":{"/lapMeters":"m","/extraMetersPerLap":"m","/targetDistanceMeters":"m","/targetTimeSeconds":"s","/fullLaps":"dimensionless index/count","/remainderMeters":"m","/fullLapSeconds":"s","/remainderSeconds":"s","/paceSecondsPerKm":"s/km","/paceSecondsPerMile":"s/mile"},"domain":["Exactly one strict measured/geometry alternative; bounds in schema. Measured mode must omit all geometry fields. Lane1 preserves provided measurement line."],"rounding":["Raw IEEE-754 numbers; the mounted page formats clocks separately."],"assumptions":["Uses the entered values and the selected convention; this documentation does not strengthen existing validation."],"limitations":["Parallel flat outdoor offsets or an actually measured running path; no banked-track model, painted-start location or certified distance/performance."],"mountedPageNotes":[],"workedExamples":[{"input":{"lane":2,"laneWidthMeters":1.22,"laneOneLapMeters":400,"laneOneOffsetMeters":0.3,"outerOffsetMeters":0.2,"targetDistanceMeters":1600,"targetTimeSeconds":300},"expected":{"/lapMeters":407.03716754404115,"/fullLaps":3},"absoluteTolerance":1e-8,"note":"Illustrative canonical-handler result; not independent validation of an empirical model."}],"constantsAndTables":{"exactMileMeters":1609.344,"pi":3.141592653589793,"nearIntegerEpsilonMultiple":8,"ruleReference":{"title":"World Athletics Competition and Technical Rules (official index: 1 July 2026)","url":"https://worldathletics.org/download/download?filename=0ed43077-8e08-492b-a4b3-267f27c18d0b.pdf&urlslug=C1.1%20%26%20C2.1%20-%20Competition%20Rules%20%26%20Technical%20Rules","checkedOn":"2026-10-15"}},"sources":[{"title":"Canonical HTTP binding at the documented implementation revision","url":"https://github.com/wickthumb/track_tools_pro_marketing/blob/b5a8aca7b85361476e0321a08b7fa5f516fc9535/lib/calculator-functions.ts","note":"Existing calculation handler; math metadata is additive."},{"title":"lib/formulas/outer-lane.ts","url":"https://github.com/wickthumb/track_tools_pro_marketing/blob/b5a8aca7b85361476e0321a08b7fa5f516fc9535/lib/formulas/outer-lane.ts","note":"Primary implementation source for these equations/tables, not a claim of scientific calibration."}]},"annotations":{"readOnlyHint":true,"consequentialHint":false},"name":"Outer-Lane Pacing Calculator","description":"Calculate lap length, full laps plus a remainder, and lap pacing for distance workouts in an outer lane. Use a directly measured running-path lap or flat outdoor parallel-lane geometry with explicit lane width and measurement offsets. An exact mile is 1609.344m, not 1600m.","category":"Training & Fitness","method":"POST","endpoint":"/api/calculators/outer-lane-workout-calculator","page":"/calculators/outer-lane-workout-calculator","inputSchema":{"type":"object","additionalProperties":false,"required":["targetDistanceMeters","targetTimeSeconds"],"oneOf":[{"required":["measuredLapMeters"]},{"required":["lane","laneWidthMeters","laneOneLapMeters","laneOneOffsetMeters","outerOffsetMeters"]}],"properties":{"measuredLapMeters":{"type":"number","description":"Measured selected-path lap length in meters. Omit all geometry fields.","minimum":50,"maximum":2000},"lane":{"type":"integer","description":"Outdoor lane number; omit in measured mode.","minimum":1,"maximum":12},"laneWidthMeters":{"type":"number","description":"Uniform lane width in meters, including the right lane line.","minimum":0.5,"maximum":2},"laneOneLapMeters":{"type":"number","description":"Lane 1 lap length at laneOneOffsetMeters, in meters.","minimum":50,"maximum":2000},"laneOneOffsetMeters":{"type":"number","description":"Lane 1 offset from its inner boundary: WA kerbed 0.30m, unkerbed 0.20m.","minimum":0,"maximum":0.5},"outerOffsetMeters":{"type":"number","description":"Outer-lane measurement offset from the outer edge of its inner boundary line: WA 0.20m. Not applied to lane 1.","minimum":0,"maximum":0.5},"targetDistanceMeters":{"type":"number","description":"Target meters: exact mile=1609.344; 1600m is separate.","minimum":0.001,"maximum":1000000},"targetTimeSeconds":{"type":"number","description":"Time for the target distance in seconds; same-speed arithmetic.","minimum":0.001,"maximum":1000000}}},"example":{"lane":2,"laneWidthMeters":1.22,"laneOneLapMeters":400,"laneOneOffsetMeters":0.3,"outerOffsetMeters":0.2,"targetDistanceMeters":1600,"targetTimeSeconds":300}}}