What is the total cost of filing a software patent and/or design in UK and in USA?
I mean, the fees for filing, the agency fees for writing the documents, etc. in total.
Patent fees are spelled out on the USPTO website.
As for lawyer or agent fees, that is outside the scope of this site and you can try contacting some directly. But starting at $10,000 ~ $30,000 would be my ballpark estimate based on what I've heard.