It travels about 1,075 kilometers , almost 40 % of its length , through Romania . After entering the country in the southwest at Bazias , the Danube travels some 1,075 kilometers ( almost 40 % of its entire length ) through or along Romanian territory , forming the southern frontier with Serbia and Bulgaria .