Branting was born on November 23, 1860 in Stockholm, Sweden. He studied at the University of Uppsala. He was married to Anna Branting. Branting died on February 24, 1925 in Stockholm, Sweden from unknown causes, aged 64.