How is Dependent Care Credit calculated?

I know the program will calculate it for you but I am just very curious how is the Dependent Care Credit calculated. So we spent in total 10,000$ in daycare for my kids in 2022. and among this 10k,  we have the 5k income withheld reimbursed. how come the dependent care credit is 200$? So you use the amount of expense total minus the 5000$, then multiply a rate depending on your AGI? To get 200$ that means our rate is only 4%?