How are these numbers calculated? (show)

Points Behind 1st  (Full Screen)
Chance Will Win Championship  (Full Screen)
RaceFinishStartLapsLeadPointsBonusPenaltyTotalPurse
Camping World 300 presented by Chevrolet26271198585$50,468
Stater Bros. 300192015010610630,933
Sam’s Town 30092220213813833,778
Nicorette 3003522168585820,253
Sharpie Mini 3003320153646427,643
Pepsi 3002710221828220,653
O'Reilly 3002226198979728,078
Bashas' Supermarkets 200238201949422,343
Mexico 20016138011511549,268
Aaron’s 31224169519159625,743
Nationwide 2502619250858521,668
Diamond Hill Plywood 200122214812712721,968
Carquest Auto Parts 300212120210010023,068
Dover 200326101676721,603
Federated Auto Parts 300351088585822,443
Meijer 30015520011811827,643
Milwaukee 2502518248888822,468
Camping World 2003115180707022,283
Daytona 2502141051100510530,393
Chicagoland 3003015194737327,273
Gateway 25017161991112511730,753
Kroger 2002339200949420,268
NAPA Auto Parts 2002194710010039,418
Zippo 200 at The Glen10288213413427,343
Carfax 250
Food City 250
Camping World 300
Emerson Radio 250
RoadLoans.com 200
Kansas 300
Dollar General 300
Memphis 250
O'Reilly Challenge
Arizona.Travel 200
Ford 300
3,83132,256+15-0=2,271$667,752