How long is a contract valid?

We use two different periods for contracts. For private individuals, the contract takes at least two years. For companies three years.