Max to ultra doesn't scale linearly. Max tech on YouTube covered this extensively
For the M1 the stated values are:
M1 Ultra [1]: 21 TFLOPs
M1 Max [2]: 10.6 TFLOPS
Actual performance obviously depends on the type of work-load etc. E.g. Geekbench Ultra is only 50% faster [3]: M1 Ultra Geekbench 6: 150260
M1 Max Geekbench 6: 108198
[1] https://videocardz.com/newz/despite-apples-claims-m1-ultra-g...
[2] https://wccftech.com/m1-max-teraflops-performance-higher-tha...
[3] https://browser.geekbench.com/metal-benchmarks