With over 36,000 records of soldiers, sailors and marines in the Union Army and Navy from 1861 to 1865, this database is of interest to anyone with ancestors from Maryland who served in the Civil War. The data was obtained from official records of the Adjutant-General office, the War Department, State histories, and other records. This first volume embraces all of the troops accredited to the quota of the State of Maryland.
Estimates vary, depending on how or who they count, plus as with most Confederates, not all who served the Union can now be named.
This site shows the largest estimates -- 85,000 Union, 30,000 Confederates -- which I'd think is probably right, if you include everyone who served at any time, in any capacity.
This site shows more modest estimates -- 60,000 Union, 25,000 Confederates -- which might be accurate if you only include those who, for example, marched in certain units.
And please note that the ratio of Union to Confederate soldiers is roughly the same.
Your information corresponds more closely to this site, and may include only those whose names can be identified.
Add to these numbers the Maryland legislature's vote of 53-13 against secession on April 29, 1861, and it clearly suggests that Maryland's population was majority Unionists by a factor of two, three or even four to one.
And since this pretty well mirrors the secession votes in such Upper South states as Virginia, North Carolina, Tennessee and Arkansas, we have to conclude that Border States like Maryland, Kentucky and Missouri can no more be called "Confederate" than Upper South states like Virginia, North Carolina, Tennessee and Arkansas should be called "Union".