I like this calculator for comparing rims.
I have entered my stock wheel sizes as comparison.
Front
Rear
You will have to try to measure fender clearance and add those measurements to the calculation.
I would have chosen 215/40 and 245/35 to keep the wheel diameter to 629 mm, making one less parameter to be able to cause any issues with rubbing and a speedometer not showing the correct speed.
__________________
Mods: Black kidneys & side markers, blackline rear lights, 2008 side mirrors, 19" VMR 701, remapped, 135i instrument cluster, X3 Steering wheel trim, Z4M gear knob