Sokołowski was born 25 May 1904 in Warsaw in the family of Railway engineer and inventor, Witold Sokołowski Gozdawa coat of arms (1871–1944) and writer Anna Maria Sokołowska born Skarbek (1878–1972). In 1912 with mother and sisters, he moved to Myślenice. When he have less than fifteen years old, he fought in defense of Polish Lwów. After war he study mathematics at University of Warsaw. In the interwar period he works in Ballistic Research Center in Rembertów (pol. "Centrum Badań Balistycznych w Rembertowie"). He earned a PhD in mathematics. In 1933 he graduated from the School Reserve Officer Cadet Artillery in Włodzimierz. First January 1935 was promoted to podporucznik. In 1939, assigned to the staff of OK I.