Each state will calculate them differently, for example, New Jersey offers Excel spreadsheets to show exactly how they calculate it.
> The calculators below are for use by administrative agents and developers of affordable housing to determine the initial sales prices and rents for affordable units in compliance with the Uniform Housing Affordability Controls (UHAC).