If there is a demonstrated need by one spouse and a demonstrated ability to pay by the other spouse, the court will likely make an order for spousal support payable to the spouse in need. The determination of the amount, duration and other terms of the spousal support order can be very complex. Child support is a complex area of law and which is customarily determined by the state mandated guidelines calculated using a formula that takes into consideration a large number of factors including each party’s income and the percentage of time that a child spends in the custody of each parent. Divorce courts use one of the computer programs (Dissomaster, XSpouse, etc.) certified by the state to arrive at what is referred to as "guideline" child support.