Charles Shiels Wainwright (December 31, 1826 – September 13, 1907) was a produce farmer in the state of New York and an artillery officer in the Union Army during the American Civil War.
He played an important role in the defense of Cemetery Hill during the July 1863 Battle of Gettysburg, where his artillery helped repel a Confederate attack.
As a young man, he helped run his father's sprawling 320-acre (1.3 km2) farm, "The Meadows," in the Hudson Valley, delivering produce to markets in the city.
His batteries were instrumental in helping repulse the twilight attack of the Louisiana Tigers, and they dueled with Confederate artillery the following day preceding Pickett's Charge.
When Maj. Gen. George G. Meade reorganized the Army of the Potomac in 1864, Wainwright became chief of artillery of V Corps, replacing Augustus P. Martin.
He was the author of A Diary of Battle: The Personal Journals of Colonel Charles S. Wainwright, 1861–1865, published posthumously in 1962.