 Berg along with his siblings spent their childhood in the Sagnitz castle and were home educated by the young Friedrich Georg Wilhelm Struve.He was brought up as a Lutheran.After he finished his home education he studied in the in Dorpat.