The total number of credits required to graduate with a diploma can vary depending on the school or educational system you are in. In the United States, for example, high school students typically need around 22 to 26 credits, depending on state requirements and specific school district policies.
If you have a specific school or education system in mind, please provide more details for a more accurate answer!