Drag the pink arrow to resize the sample browser. Be sure to try vertical-only as well.
The equation asks: how many screen pixels should one pxv equal right now? It works from the inside out:
1440px window against a 1440px design gives a width-based size of 1px per pxv.500px floor, a 400px-tall window is treated as 500px tall for this calculation.600px against a 750px reference gives a height-based size of 0.8px per pxv. The aspect-ratio multiplication in the formula converts height into the same sizing terms as width; algebraically, it reduces to this comparison.75% squish, combine 25% of the width-based size with 75% of the height-based size. In this example, that produces 0.85px.1800 ÷ 1440, or 1.25px per pxv.768 ÷ 1440, or about 0.533px per pxv.0.85px, then 100pxv renders as 85px.The nested min() functions choose smaller values to enforce ceilings. The max() functions choose larger values to enforce floors. The arithmetic inside them calculates the sizes those functions are choosing between.
These examples use fixed numbers to explain the process. The formula above uses your current demo settings.