How the credit is calculated

A set amount per qualifying child, with the refundable part limited by earned income.