How many soldiers died in Gettysburg?

Due to poor record keeping and the destruction wrought by the battle, it is difficult to pinpoint exactly how many deaths occurred during the Battle of Gettysburg. Historians estimate the total number of casualties to be between forty-six and fifty-one thousand soldiers. It ranks as the thirty-first deadliest battle in world history.