Firstly the court will calculate the total assets owned by both parties, including property, shares, cars, jewelry, savings, furniture etc. This includes things you brought into the relationship, those acquired during the relationship and also those purchased after separation.
Next the court will weigh up the contributions from both parties, including financial, non-financial, inheritances and assets brought into the relationship.
Then the court will look at the future needs of both parties, including factors such as your capacity to earn money and your parental responsibilities.
Lastly the court will make a decision based on what is just and equitable to both parties.