If you want formulas:

Supposing the main heat transfer is by convection.

Q = U x A x TD

Q = design load for the evaporator
U = global heat transmission coefficient (if you generalize this coefficient you can take into account different forms of heat transfer as long as that mechanism uses the same TD)
A = Heat transfer surface’s area
TD = Temperature of air in – saturated temperature at outlet of evap. (though this is one of many differentials that can be defined and used)

You can use the same formula for the condenser thought the new Q would be the previous Q plus the heat of compression + losses.

In practice nobody uses these formulas. Manufacturers give you a relation between Q and whatever TD they think convenient that considers all forms of heat transfer to their equipment. So you end up working with their catalogs instead of formulas but the idea is the same.