The average length of prison time for perjury convictions is 21 months in the United States. The maximum length of time is no more than five years. Alternative to prison is a fine levied against the offender.
If a person goes to court and intentionaly lies, oh my this is perjury. Ok so the person says yeah he robbed my store but no I did not really see him but he had to rob my store because he looks dishonest. Perjury be up to ten years.