The VIN separates ND1, ND2, ND3, RF, and soft top.
The decoder names the variant, not only the model. That matters most on the MX-5, where one model name covers three generations and two roof types.
ND1, ND2, ND3. The model year places the Miata in a community generation: ND1 (2016–2018), ND2 (2019–2023, with the 181-horsepower engine and telescoping wheel), and ND3 (the 2024 facelift). The full breakdown is in ND1 vs ND2 vs ND3.
RF or soft top. On North American MX-5 VINs, position 7 encodes the trim and the roof together, so the decoder reports both.
AWD or FWD. On the CX-3, CX-5, and CX-9, position 6 encodes the drivetrain. The codes vary by trim and year, so confirm against the tailgate badge or the door-jamb axle rating before you rely on it.
Gen 6 cutoffs vary by market. United States examples include the 2016–2023 MX-5, the 2016–2020 CX-5, and the 2014–2018 Mazda3. Other markets differ, so use the market and trim matrix, then check the About-screen firmware.