Hans Sommer (20 July 1837 in Braunschweig (Brunswick) – 26 April 1922 in Braunschweig) was a German composer and mathematician.