Custom LOD - Distance Camera To Object

How can I calculate the distance of a LOD object to the camera? and display the LODs according to the distance

For example

LOD 0 distance camera to Object = 100 meter
LOD 1 = 250 meter
LOD 2 = 400 meter
LOD 3 = 2500 meter
LOD 4 = 5000 meter
LOD 5 = 10000 meter

Unity 2022.1.23f1

I want to make this . Like GTAV ( Low Poly )