This page contains 4 exhaust header calculators. They calculate header primary length, header primary diameter & area, collector diameter and collector length.
To see a full list of exhaust calculators on StrikeEngine, click here
Exhaust Header Calculator – Links & Sources
There are some interesting formulas here but they were not used in the calculators on this page
A video covering the importance of header length