diff --git a/webapp/channels/src/components/self_hosted_expansion_modal/expansion_card.tsx b/webapp/channels/src/components/self_hosted_expansion_modal/expansion_card.tsx
index 6eadd2de6e..47ecfa49aa 100644
--- a/webapp/channels/src/components/self_hosted_expansion_modal/expansion_card.tsx
+++ b/webapp/channels/src/components/self_hosted_expansion_modal/expansion_card.tsx
@@ -41,7 +41,7 @@ export default function SelfHostedExpansionCard(props: Props) {
const getMonthsUntilExpiry = () => {
const now = new Date();
- return (licenseExpiry.getMonth() - now.getMonth()) + 12 * (licenseExpiry.getFullYear() - now.getFullYear());
+ return (licenseExpiry.getMonth() - now.getMonth()) + (MONTHS_IN_YEAR * (licenseExpiry.getFullYear() - now.getFullYear()));
};
const getMonthlyPrice = () => {
@@ -208,6 +208,7 @@ export default function SelfHostedExpansionCard(props: Props) {