Get something like this https://www.amazon.com/dp/B07J9V9JTK/ref=cm_sw_r_cp_apa_glt_fabc_G40X9RXKJTJ0ZV57HZ94
Ummm, there's not enough information in that question. Firstly everything on an E28, or any BMW for that matter will be metric. The size and pitch for almost every bolt will be metric coarse. Except, of course, wheel nuts, which have can have three damn options. The simplest way to check the size of threads is with a thread gauge and a caliper Measure the diameter it will be slightly under a round number in mm. eg a 12mm bolt might measure across the threaded portion 11.92mm for example. Then line up the appropriate thread gauge. It should drop into the grooves perfectly. Now you have the thread size, and the pitch. This is all you will need. (yes there are loose fit munitions threads but they aren't found on cars. BTW do NOT buy aluminium wheel nuts. They are the wrong material for purpose.
Cheers