How the split is worked out
The total commission is the sale price times the agreed rate. It is then shared between the two brokerages, usually by the listing agreement or an offer of cooperation, then between your brokerage and you.
Referral fees come off your side before your split, and a team share comes off your part after it. That is the most common order; check your own agreements, which can differ.
What this calculator leaves out
Sales taxes on the commission, brokerage desk fees, caps and transaction fees are not included, because each brokerage sets its own.
Rates and splits are examples, not a statement of what is usual where you work. Commissions are negotiable and set in writing with the client.
Keep the split with the deal
A calculator answers once. In a CRM, the deal holds its value and the people involved, so the expected commission of the whole pipeline can be seen at any time.
KeyFolio, the real estate CRM demo by TECHMA, shows the value and the weighted value of each deal; a version for you can store each broker's split.