If the ladder reaches a height of 12 meters up the wall and has its foot 5meter away from it so can you please help me to calculate the length of the ladder

This forms a right triangle, so use the Pythagorean Theorem.

I'll be glad to check your answer.