Canada Jail Time Calculator
Calculate the arithmetic effect of pre-sentence custody credit on a custodial sentence in Canada, and check a few important sentence-structure thresholds. This calculator does not predict the sentence a judge will impose.
Your entries stay in your browser. This tool does not store, transmit, or sell the figures you enter.
Canadian criminal sentences are individualized. The offence, circumstances, aggravating and mitigating factors, prior record, applicable minimum penalties, case law, and other sentencing principles can all matter. Use this calculator only for custody arithmetic after a sentence length is known or being assessed.
Calculated custodial term remaining after credit
0 days
The 1.5 to 1 figure is not automatic. Section 719(3.1) permits a maximum of 1.5 days for each day of pre-sentence custody when the circumstances justify it. A court determines the credit actually granted.
The mathematical credit is greater than the custodial term entered, so this calculator stops the remainder at zero. It does not determine how excess pre-sentence custody may affect any other sentencing issue.
Sentence structure checks
See how this was calculated
Formula
Your calculation
This calculator never returns a negative custodial term. Any potential credit above the entered sentence is not allocated elsewhere by this tool.
What this Canada jail time calculator can calculate
There is no single Canadian formula that can reliably predict a person's criminal sentence from an offence name. Under section 718.1 of the Criminal Code, a sentence must be proportionate to the gravity of the offence and the offender's degree of responsibility. Section 718.2 also requires courts to consider relevant sentencing principles, including aggravating and mitigating circumstances.
For that reason, this calculator does not invent a predicted jail range. Instead, it calculates a part of Canadian sentencing that can be expressed as arithmetic: the effect of pre-sentence custody credit on a custodial term supplied by the user.
How pre-sentence custody credit works
Section 719 of the Criminal Code allows a court to take time already spent in custody because of the offence into account when determining the sentence.
Section 719(3) generally limits the credit to one day for each day spent in custody. Section 719(3.1) provides that, when the circumstances justify it, the maximum may be one and one-half days for each day spent in custody.
The calculator therefore lets you choose either 1 to 1 or up to 1.5 to 1. Selecting 1.5 to 1 does not mean a court will grant that rate.
Formula used
Potential pre-sentence credit
Days in pre-sentence custody × selected credit rate
Calculated sentence remainder
Custodial term before credit − credit applied
For example, if the custodial term before credit is 120 days and the court allows 20 days of credit at a 1 to 1 rate, the arithmetic remainder is 100 days.
What the sentence structure checks mean
Intermittent sentences
Under section 732(1) of the Criminal Code, when a court imposes imprisonment of 90 days or less, it may order the sentence to be served intermittently after considering the statutory factors and the availability of suitable accommodation.
A result of 90 days or less therefore satisfies only the length part of that rule. It does not mean intermittent service will be ordered.
Conditional sentences
A conditional sentence is a sentence of imprisonment served in the community under court-imposed conditions. Under section 742.1 of the Criminal Code, several requirements must be satisfied.
Among other things, the court must impose imprisonment of less than two years, the offence cannot be punishable by a minimum term of imprisonment, applicable offence exclusions must not apply, community safety must be addressed, and the sentence must be consistent with the purposes and principles of sentencing. The calculator checks only the limited questions you answer.
Sentences of two years or more
Under section 743.1 of the Criminal Code, a sentence of imprisonment for two years or more is generally served in a penitentiary, subject to statutory exceptions and rules concerning other sentences. A shorter term is generally dealt with under the non-penitentiary rule in section 743.1(3).
Why this calculator does not predict a sentence
Canadian sentencing is not based on a fixed table that converts an offence into a certain number of jail days. The court must apply the purposes and principles in sections 718 to 718.2 and the law that applies to the particular offence and offender.
A statutory maximum is also not an expected sentence. Likewise, an offence carrying a possible jail sentence does not by itself establish that imprisonment will be imposed. Applicable sentencing ranges and precedents can depend on the offence, jurisdiction, facts, record, and current case law.
Common mistakes to avoid
- Do not count time spent on bail or otherwise at liberty as days spent in pre-sentence custody.
- Do not automatically select the 1.5 to 1 credit rate. Enhanced credit must be legally justified and granted by the court.
- Do not treat the calculated remainder as an official release date.
- Do not assume a sentence of less than two years automatically qualifies for a conditional sentence.
- Do not assume every calendar month is exactly 30 days when converting a sentence into days.
Important limitations
This calculator does not determine a fit sentence, guilt, an applicable sentencing range, the constitutional validity of a minimum penalty, parole eligibility, statutory release, remission, earned release, credit arising under another legal rule, or the official date on which a person will leave custody.
It also does not identify the correct Criminal Code provision from an offence name. Offence-specific penalties and exclusions can change, and the exact charging and conviction provision matters.
For an actual criminal case, the relevant Criminal Code provision, current case law, court record, and sentence calculation should be checked rather than relying on this calculator alone.
Methodology
The calculator treats the user-entered custodial term as the term that would apply before pre-sentence custody credit. It multiplies the number of pre-sentence custody days by the selected credit ratio, then subtracts the applicable credit from the entered term. The mathematical remainder is capped at zero.
Decimal half-days can appear when a 1.5 to 1 ratio is selected. They are left visible instead of being silently rounded because the court, rather than this tool, determines the actual credit and sentence recorded.
The optional checks are simple statutory screens. They are deliberately separated from the main calculation because they depend on legal facts that cannot be inferred safely from the number of days alone.
Sources
- Criminal Code, section 718, purpose of sentencing
- Criminal Code, section 718.1, proportionality
- Criminal Code, section 718.2, other sentencing principles
- Criminal Code, section 719, pre-sentence custody credit
- Criminal Code, section 732, intermittent sentences
- Criminal Code, section 742.1, conditional sentences
- Criminal Code, section 743.1, place of imprisonment
Methodology last reviewed: September 24, 2026. The Justice Laws Website version checked during review stated that the Criminal Code was current to September 3, 2026 and last amended July 18, 2026.