From Houghtalings Handbook of Useful Information ©1889 (Editorial change. In the original publication the information below was in a paragraph, I'm putting it in a list for easier viewing.
Confederate Soldiers Surrendered at end of War.
Army of Northern Virginia, 27,805;
army of Tennessee, 31,243;
army of Missouri, 7,978;
army of Alabama, 42,293;
army of Trans-Mississippi, 17,686;
at Nashville and Chattanooga, 5,029;
paroled in Departments of Virginia, Cumberland, Maryland, Alabama, Florida, Tennessee, Texas, etc., 42,189;
Confederate prisoners in Northern prisons at the close of the war, 98,802;
total Confederate army at close, 273, 025.
A large and unknown number of Confederate soldiers were not present at surrender.