| Season | Series | Team | Races | Wins | Poles | F/Laps | Podiums | Points | Position |
| 2012–13 | SBF2000 Winter Series | N/A | 12 | 1 | 1 | 0 | 4 | 287 | 6th |
| 2013 | Pacific Formula F1600 | PR1/BHA with Curb-Agajanian | 15 | 10 | 6 | 10 | 15 | 413 | 1st |
| 2014 | National Championship | JAY Motorsports | 12 | 0 | 0 | 1 | 0 | 115 | 15th |
| AsiaCup Series | Meritus.GP | 4 | 1 | 1 | 2 | 3 | 59 | 8th |
| GRC Lites | AD Racing | 1 | N/A | 0 | N/A | N/A | 16 | 15th |
| 2015 | MSA Formula Championship | Carlin | 30 | 4 | 3 | 8 | 12 | 355 | 3rd |
| 2016 | Euroformula Open Championship | Carlin | 16 | 4 | 5 | 4 | 7 | 199 | 3rd |
| Spanish Formula 3 Championship | 6 | 2 | 2 | 1 | 4 | 94 | 2nd |
| BRDC British Formula 3 Championship | 6 | 1 | 0 | 1 | 3 | 109 | 19th |
| Masters of Formula 3 | 1 | 0 | 0 | 0 | 0 | N/A | 13th |
| 2017 | Indy Lights | Andretti Steinbrenner Racing | 16 | 2 | 7 | 3 | 7 | 300 | 3rd |
| 2018 | Indy Lights | 17 | 4 | 3 | 7 | 13 | 447 | 2nd |
| IndyCar Series | Harding Racing | 1 | 0 | 0 | 0 | 0 | 20 | 37th |
| 2019 | IndyCar Series | Harding Steinbrenner Racing | 17 | 2 | 3 | 2 | 2 | 420 | 7th |
| IMSA SportsCar Championship – GTLM | BMW Team RLL | 3 | 1 | 0 | 0 | 2 | 89 | 14th |
| 2020 | IndyCar Series | Andretti Harding Steinbrenner Autosport | 14 | 1 | 1 | 0 | 2 | 421 | 3rd |
| IMSA SportsCar Championship – GTLM | BMW Team RLL | 3 | 0 | 0 | 0 | 0 | 79 | 9th |
| 2021 | IndyCar Series | Andretti Autosport w/ Curb-Agajanian | 16 | 3 | 3 | 2 | 5 | 311 | 5th |
| IMSA SportsCar Championship – GTD | Turner Motorsport | 2 | 1 | 1 | 1 | 1 | 285 | 50th |
| 2022 | IndyCar Series | Andretti Autosport | 17 | 1 | 2 | 1 | 2 | 381 | 10th |
| IMSA SportsCar Championship – LMP2 | DragonSpeed USA | 1 | 1 | 0 | 0 | 1 | 0 | NC |
| Formula One | McLaren F1 Team | Test driver |
| 2023 | IndyCar Series | Andretti Autosport with Curb-Agajanian | 17 | 0 | 2 | 0 | 1 | 356 | 10th |
| IMSA SportsCar Championship – GTP | BMW M Team RLL | 1 | 0 | 0 | 0 | 0 | 274 | 24th |
| 2024 | IndyCar Series | Andretti Global with Curb-Agajanian | 17 | 2 | 3 | 1 | 6 | 513 | 2nd |
| IMSA SportsCar Championship – GTP | Wayne Taylor Racing with Andretti Autosport | 3 | 1 | 0 | 1 | 2 | 970 | 18th |
| 2025 | IndyCar Series | Andretti Global | 17 | 0 | 2 | 0 | 1 | 372 | 7th |
| IMSA SportsCar Championship – LMP2 | CrowdStrike Racing by APR | 1 | 0 | 0 | 0 | 0 | 272 | 47th |
| 2026 | FIA Formula 2 Championship | Hitech TGR | 0 | 0 | 0 | 0 | 0 | 0 | TBD |
| Formula One | Cadillac F1 Team | Test driver |
| IMSA SportsCar Championship – GTP | Cadillac Wayne Taylor Racing | 0 | 0 | 0 | 0 | 0 | 0 | TBD |