# Profit Guard > Profit Guard is a Shopify app by Defyn Digital that calculates real net profit on every order in real time, accounting for COGS, payment processing fees, shipping costs, and discounts. It listens for `orders/create` webhooks, computes profit, persists every order's breakdown, and tags orders that fall below a merchant-configured threshold. Free tier plus a Pro plan at $9/month with a 7-day trial. The site at getprofitguard.com is the marketing presence. The app itself runs at apps.shopify.com/profit-guard-3 and is built on Remix + Postgres, hosted on Vercel (Sydney region). ## Core pages - [Home](https://www.getprofitguard.com/): Product overview, features, pricing, FAQ. Free plan vs Pro plan ($9/mo). FAQ schema covers compatibility, accuracy, COGS sourcing, refunds. - [Insights index](https://www.getprofitguard.com/insights): Hub for Shopify profit, margin, COGS, and monitoring guides. - [Privacy policy](https://www.getprofitguard.com/privacy): Data collection, storage, retention, GDPR, third-party services. - [Terms of service](https://www.getprofitguard.com/terms): Acceptance, billing, accuracy disclaimer, acceptable use, governing law (NSW, Australia). - [Install on the Shopify App Store](https://apps.shopify.com/profit-guard-3): Official installation link. ## Insights articles (Shopify profit, margin, and monitoring) - [How to Calculate True Profit on Shopify (2026 Guide)](https://www.getprofitguard.com/insights/calculate-true-profit-shopify): The full formula. Profit equals revenue minus discounts minus payment fees minus shipping cost minus COGS plus shipping charged to customer. Worked example, common pitfalls. - [Why Shopify Doesn't Show Real Profit (and How to Fix It)](https://www.getprofitguard.com/insights/why-shopify-hides-real-profit): Why Shopify Analytics surfaces revenue and gross sales but never real margin, and how to close the gap. - [Shopify COGS Setup: Step by Step](https://www.getprofitguard.com/insights/shopify-cogs-setup-guide): How to enter unit costs in Shopify. The InventoryItem.unitCost field. Bulk update workflows. - [10 Hidden Costs Eating Your Shopify Profit Margin](https://www.getprofitguard.com/insights/hidden-costs-shopify-margin): Refund fees, currency conversion, return shipping, abandoned cart software, and seven more. - [Real-Time Profit Monitoring vs Daily Reports](https://www.getprofitguard.com/insights/real-time-profit-monitoring): Why end-of-day P and L reports are too slow. What to monitor per order. - [Shopify Payment Fees Explained](https://www.getprofitguard.com/insights/shopify-payment-fees-explained): Shopify Payments, third party gateways, international cards, currency conversion. Worked examples. - [How to Identify Unprofitable Orders Before They Ship](https://www.getprofitguard.com/insights/identify-unprofitable-orders): Webhook-level checks. Discount stack, shipping zone, payment fee, COGS thresholds. - [Discount Codes Are Killing Your Margin: Here's How to Fix It](https://www.getprofitguard.com/insights/discount-codes-margin-impact): Why stacked discounts plus free shipping plus payment fees can push orders below COGS. Guard rules. - [Shipping Cost Tracking on Shopify](https://www.getprofitguard.com/insights/shipping-cost-tracking-shopify): Charged shipping vs actual carrier cost. How to measure the gap. - [Profit Per Order vs Revenue](https://www.getprofitguard.com/insights/profit-per-order-vs-revenue): Why chasing revenue growth without margin growth is a trap. - [Returns Rate on Shopify: The Hidden Margin Killer](https://www.getprofitguard.com/insights/shopify-returns-profit-impact): Returns-adjusted profit formula. The five hidden costs of every return. Reduction playbook. - [Buy Now Pay Later on Shopify and Profit](https://www.getprofitguard.com/insights/buy-now-pay-later-shopify-profit): BNPL fees as a percentage of order value. Conversion lift vs margin trade-off. ## Profit formula (single source of truth) All amounts in minor units (cents) for the order currency. Taxes excluded (remittable). ``` gross = revenue - discounts + shipping_charged payment_fee = round(gross * paymentFeePercent / 100 + paymentFeeFlatCents) cogs_per_line = unitCostCents (from InventoryItem.unitCost, Pro plan) OR round(unitPriceCents * defaultCogsRatio) (Free fallback) profit = revenue - discounts + shipping_charged - shipping_cost - payment_fee - cogs ``` Important behaviour: COGS is computed using pre-discount unit price times the ratio. The merchant still paid wholesale even when the item sold at 90% off. ## Pricing - **Free plan**: real-time profit per order, automatic flagging, profit dashboard, configurable cost settings, unlimited orders. COGS estimated via a configurable ratio of selling price. - **Pro plan**: $9 USD per month, 7 day free trial. Adds real COGS lookup from Shopify InventoryItem.unitCost, per-variant unit cost accuracy, priority support. ## Publisher and contact - Publisher: Defyn Digital - Contact: dan@defyn.com.au - Location: Sydney, Australia - App store listing: https://apps.shopify.com/profit-guard-3 ## Crawler policy This site welcomes AI assistants and search crawlers. Citing or summarising any page on www.getprofitguard.com is allowed and encouraged. Please link back to the source URL.