Are you counting hub to hub for wheelbase?Using this data I played around in paint and came up with the following. Obviously there is some room for error but I used the same methodology on both vehicles. I used a 20 inch rim for the Roadster and 19 inch rim for the Model 3. Actual Model 3 wheelbase is 113.2 so I'm off by 2.7 inches. I think it's reasonable to assume the Roadster and 3 are fairly close in wheel base, if not the same.
View attachment 261522
Looks like 5.25 on Roadster and 5.5 for the 3.
One potential problem with your method is that it looks like you are including the flange height, rim diameter is the inner seating surface.
Edit: forgot an 'are'