Have you tried calculating how much it will cost?

Literal

Costs [subject-が] how-much take [question-か] calculate [tried-てみましたか].

~てみる means 'to try doing.' The polite question ~てみましたか asks whether the listener has attempted the calculation. 算出する is a formal verb for 'calculate.'