¶1*649Jeffrey Q. McCarther, Asst. U.S. Atty., Kansas City, MO (Tammy Dickinson, U.S. Atty., on the brief) for appellee.
¶2Daniel P. (Dan) Goldberg, Research and Writing Specialist, Office of the Fed. Public Defender, Kansas City, MO (Laine Car-darella, Fed. Public Defender, Todd M. Schultz, Asst. Fed. Public Defender, on the brief), for appellant.
¶3Before COLLOTON, BENTON, and KELLY, Circuit Judges.
¶5Dylan W. Stone pleaded guilty to being a felon in possession of a firearm in violation of 18 U.S.C. § 922(g)(1). The district court1' adopted the uncontested calculations of Stone’s offense level and criminal history in the presentence report, which resulted in an advisory Sentencing Guidelines range of 27-33 months. Citing a number of factors, the court sentenced Stone to an above-Guidelines sentence of. 60 months of imprisonment. Stone appeals, arguing the district court erred .in imposing an upward variance.
¶6We “review all sentences—whether inside, just outside, or significantly outside the Guidelines range—under a deferential abuse-of-discretion standard.” Gall v. United States, 552 U.S. 38, 41, 128 S.Ct. 586, 169 L.Ed.2d 445 (2007).2 Stone, argues that the district court abused its discretion in two ways: (1) by considering improper factors in determining his sentence; and (2) by engaging in an unreasonable-weighing of the statutory sentencing factors listed in 18 U.S.C. § 3553(a), leading to an unjustifiably excessive sentence.
¶7Stone alleges the district court considered improper factors when, according to .Stone, it declared “categorical rules” that required imposing longer sentences for federal, rather than state, crimes and imposing longer sentences for a greater history of recidivism. Such a reading of the transcript, however, takes out of context two statements the court made during a longer sentencing colloquy. Read in context, it is apparent that the district court was" not relying on categorical rules, but instead was making individualized observations about Stone’s past conduct and the need for "deterrence in light of Stone’s history and personal characteristics. The “need for deterrence”" is an authorized— not an improper—statutory factor, and the district court did not err in taking it into consideration. See 18 U.S.C. § 3553(a)(2)(B).
¶8Similarly, we are unpersuaded by Stone’s contention that the district court improperly weighed the § 3553(a) factors. When varying from the Guidelines, “[t]he district court must ‘consider the extent of the deviation and ensure that the justification is sufficiently compelling to support the degree of the variance.’ ” United States v. Martinez, 821 F.3d 984, 989 (8th Cir. 2016) (quoting United States v. Feemster, 572 F.3d 455, 461 (8th Cir. 2009) (en *650banc)). However, “‘extraordinary circumstances’ are not needed to justify a sentence outside the guideline range,” even if the district court is varying upward. United States v. Hummingbird, 743 F.3d 636, 638 (8th Cir. 2014). “The district court has wide latitude to weigh the § 3553(a) factors in each case and assign some factors greater weight than others in determining an appropriate sentence.” United States v. Bridges, 569 F.3d 374, 379 (8th Cir. 2009).
¶9Here, the district court specifically addressed a number of the § 3553(a) factors. First, it looked at Stone’s history; and characteristics3—giving specific attention to the his employment history and, lack’ of success when previously placed on supervision, The court then discussed the need to. protect the public from further crimes, which the court described as “something that I think is very real” with respect to Stone. And, as noted, the court addressed the need for deterrence. The district court also expressly acknowledged that Stone had accepted responsibility for his offense and was honest with the court, which “help[ed]” him from receiving an even longer sentence. These considerations are adequate to support an upward variance in this case. See Gall, 552 U.S. at 51, 128 S.Ct. 586 (“[We] must give due,deference to the district court’s decision that, the § 3563(a) factors, on a whole, justify the extent of the variance.”).
¶10The judgment of the district court is affirmed.