The New Hampshire Department of Corrections tracks cost per prisoner per year by dividing its total prison expenses by the average number of incarcerated people.