The court considers various factors, including the financial needs of each spouse, their earning capacity, contributions to the marriage, the standard of living enjoyed during the marriage, the welfare of any children, and any other relevant circumstances. If there are children of the family, the court’s main priority is that the main carer and the child(ren)’s needs are met.