Donorbox has a cover fee function where the donor can choose to cover the processing fee. To enable this feature, go to the "Advanced" tab of the form editor and check "Ask donors to cover processing fee".
This will give the donor the option to pay for the processing fee during checkout.
Additionally, this option can be checked by default.
This is how Donorbox estimates the processing fee.