i have a leaking brake line, what would be the estimated costs of repairs on 2004 BMW X5

brake lines are leaking and my brake petal goes to the floor

Asked by for the 2004 BMW X5
it should not cost you that much if you can do the repair yuorself all you need to do is find out which line is leaking and replace the line and bleed the brakes if you take it to a shop it shouldnt cost you more than a hundred dollars if you can do it yourself it might cost you $20 for the line