Free cash flow surged 67% YoY to $67.6M (23.2% margin) in Q2 2026, with cumulative OCF exceeding net income by 47% over ten quarters, though Q2 OCF/NI of 0.95 signals a temporary working capital drag.
Cognex Corporation (CGNX) cash flow statement — 30-year operating, investing & financing cash flows
| Metric | TTM | Dec'25 | Dec'24 | Dec'23 | Dec'22 | Dec'21 | Dec'20 | Dec'19 | Dec'18 | Dec'17 | Dec'16 | Dec'15 | Dec'14 | Dec'13 | Dec'12 | Dec'11 | Dec'10 | Dec'09 | Dec'08 | Dec'07 | Dec'06 | Dec'05 | Dec'04 | Dec'03 | Dec'02 | Dec'01 | Dec'00 | Dec'99 | Dec'98 | Dec'97 | Dec'96 |
|---|
| Cash from Operations | 276.63M | 245.51M | 149.08M | 112.92M | 243.41M | 314.06M | 242.4M | 253.31M | 223.45M | 224.32M | 182.08M | 118.36M | 155.97M | 95.45M | 101.13M | 86.09M | 76.34M | 12.28M | 58.94M | 48.47M | 48.48M | 42.76M | 63.18M | 30.96M | 16.45M | 20.87M | 76.42M | 55.4M | 29.7M | 52.5M | 51.1M |
| Operating CF Margin % | - | 24.69% | 16.3% | 13.48% | 24.19% | 30.28% | 29.89% | 34.91% | 27.71% | 29.28% | 34.39% | 26.27% | 36.57% | 31.03% | 31.19% | 26.74% | 26.26% | 6.99% | 24.29% | 21.48% | 20.34% | 19.72% | 31.28% | 20.63% | 14.41% | 14.83% | 30.48% | 36.42% | 24.38% | 33.81% | 41.61% |
| Operating CF Growth % | 174.75% | 64.69% | 32.03% | -53.61% | -22.5% | 29.56% | -4.31% | 13.36% | -0.39% | 23.2% | 53.83% | -24.11% | 63.4% | -5.61% | 17.47% | 12.77% | 521.53% | -79.16% | 21.59% | -0.01% | 13.37% | -32.31% | 104.03% | 88.28% | -21.2% | -72.69% | 37.95% | 86.53% | -43.43% | 2.74% | 134.4% |
| Net Income | 174.79M | 114.44M | 106.17M | 113.23M | 215.53M | 279.88M | 176.19M | 203.87M | 219.27M | 177.18M | 149.83M | 108.89M | 121.48M | 73.57M | 68.1M | 69.87M | 61.38M | -4.87M | 27.27M | 26.9M | 39.85M | 35.7M | 37.74M | 15.95M | -6.03M | -11.13M | 68.15M | 30.4M | 20.2M | 40.5M | 30.4M |
| Depreciation & Amortization | 28.98M | 30.79M | 32.69M | 21.88M | 19.62M | 20.28M | 26.5M | 24.9M | 21.55M | 16.99M | 15.07M | 14.12M | 12.47M | 11.1M | 10.86M | 9.76M | 9.81M | 9.58M | 11.38M | 11.36M | 11.67M | 11.43M | 9.97M | 10.16M | 9.52M | 13.54M | 11.99M | 9.3M | 8.7M | 5.8M | 5.1M |
| Stock-Based Compensation | 49.43M | 48.52M | 52.44M | 54.77M | 54.51M | 43.77M | 42.66M | 45.59M | 41.09M | 31.94M | 20.56M | 20.17M | 15.16M | 10.62M | 8.52M | 8.07M | 3.03M | 9.22M | 10.23M | 11.71M | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Deferred Taxes | 51.44M | 40.15M | -21.51M | -19.78M | -27.34M | -3.12M | -3.35M | -94.87M | -413K | 1.79M | -1.91M | -11.37M | -10.23M | -5.42M | -3.17M | 1.03M | 1.03M | 1.99M | -441K | -9.9M | -45K | -3M | -2.57M | -432K | -2.2M | -7.84M | -533K | -7M | -1.3M | -2.6M | -400K |
| Other Non-Cash Items | 11.51M | 9.87M | 4.13M | 10.53M | 54.63M | 7.26M | 31.76M | 2.15M | -396K | -183K | -1.59M | -444K | 1.15M | 2.92M | 4.11M | 879K | 2.76M | 6.46M | 6.92M | 3.03M | 12.21M | 364K | 11.57M | 5.33M | 12.08M | 243K | 23.3M | 700K | -2.7M | -1.3M | 900K |
| Working Capital Changes | -39.5M | 1.75M | -24.85M | -67.72M | -73.53M | -34.01M | -31.36M | 71.67M | -57.64M | -3.39M | 121K | -13M | 15.95M | 2.66M | 12.71M | -3.51M | -1.67M | -10.1M | 3.58M | 5.37M | -15.21M | -9.38M | 6.46M | -50K | 3.06M | -5.24M | -26.48M | 13.1M | 600K | -1.5M | 9.3M |
| Change in Receivables | -42.17M | -15.23M | -32.13M | 23.09M | 5.26M | -2.87M | -22.13M | 20.34M | -1.87M | -55.19M | -13.25M | -3.95M | -915K | -11.31M | 5.04M | -2.03M | -14.54M | -287K | 8.55M | 3.2M | 0 | 0 | 0 | 0 | 0 | 27.82M | 0 | 0 | 0 | 0 | 0 |
| Change in Inventory | -15.8M | 4.86M | 2.5M | 3.77M | -48.93M | -54.92M | -10.32M | 17.84M | -16.95M | -37.09M | 10.41M | -9.46M | -11.75M | 666K | 1.87M | -5.74M | -7.7M | 5.14M | -959K | 124K | -10.18M | 1.05M | -3.64M | 5.83M | 5.01M | -12.89M | -17.9M | -400K | -3.6M | -900K | 2.5M |
| Change in Payables | 22.94M | 11.71M | 18.35M | -13.74M | -17.28M | 27.83M | -1.69M | 1.63M | -7.25M | 12.32M | 2.09M | -8.87M | 10.9M | 13.56M | 1.39M | -118K | 6.43M | -14.35M | -1.93M | 5.89M | 0 | 0 | 0 | 0 | 0 | -5.49M | 0 | 0 | 0 | 0 | 0 |
| Cash from Investing | -70.8M | 28.02M | -38.97M | 32.27M | -4.45M | -252.54M | 169.44M | -157.34M | -10.83M | -105.56M | -121.83M | -10.55M | -104.1M | -88.07M | -38.85M | -90.03M | -176.49M | -466K | 64.54M | 8.7M | 52.52M | -21.09M | -92.15M | -30.35M | 39.05M | -38.37M | -99.41M | -47.4M | -3.6M | -68.2M | -29.4M |
| Capital Expenditures | -8.34M | -8.74M | -15.04M | -23.08M | -19.67M | -15.46M | -13.3M | -21.75M | -37.09M | -28.75M | -12.82M | -28.7M | -20.93M | -13.38M | -9.88M | -7.82M | -5.85M | -5.47M | -6.01M | -4.63M | -4.22M | -3.82M | -3.12M | -2.46M | -2.23M | -4.46M | -7.75M | -3.4M | -7.2M | -10.9M | -10.2M |
| CapEx % of Revenue | 0.77% | 0.88% | 1.64% | 2.76% | 1.95% | 1.49% | 1.64% | 3% | 4.6% | 3.75% | 2.42% | 6.37% | 4.91% | 4.35% | 3.05% | 2.43% | 2.01% | 3.11% | 2.48% | 2.05% | 1.77% | 1.76% | 1.54% | 1.64% | 1.95% | 3.17% | 3.09% | 2.24% | 5.91% | 7.02% | 8.31% |
| Acquisitions | 0 | 6.7M | -1.44M | -257.06M | -5.05M | 0 | 1M | -166.91M | -4.26M | -24.12M | -14.29M | -1.02M | -673K | 3.75M | 0 | -315K | 170.95M | -4.94M | -1M | -1M | -3.19M | -111.84M | -123K | -11.79M | -349K | -361K | -22.24M | 0 | 0 | 0 | 0 |
| Investments | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
| Other Investing | 18.22M | 156K | -8K | 0 | 0 | 0 | 0 | 0 | 30.53M | -291K | -113K | 104.39M | 673K | -3.75M | -28.98M | 315K | -170.63M | 0 | 2.8M | 0 | 0 | 0 | 0 | 0 | 0 | 0 | -1.7M | -1.8M | -4.1M | -3.1M | -400K |
| Cash from Financing | -77.2M | -206.69M | -118.42M | -125.61M | -240.37M | -141.62M | -316.87M | -32.23M | -209.9M | -100.12M | -29.23M | -106.87M | -34.87M | -12.46M | -45.15M | 9.79M | 20.23M | -21.3M | -95.53M | -40.5M | -89.58M | 565K | 31.14M | 15.41M | -21.42M | 4.64M | 17.92M | 13.9M | -35.5M | 5M | 2.5M |
| Debt Issued (Net) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Equity Issued (Net) | -19.83M | -151.68M | -67.08M | -79.79M | -204.31M | -161.65M | -51.04M | -61.69M | -177.04M | -69.16M | -3.68M | -98.77M | -42.74M | -20.12M | 0 | -10M | 0 | -8.93M | -77.92M | -25.84M | -75.94M | 15.53M | 43.9M | 20.65M | -21.42M | 4.64M | 17.92M | 13.9M | -35.6M | 5M | 2.5M |
| Dividends Paid | -56.1M | -54.63M | -52.33M | -49.08M | -45.92M | -43.26M | -390.51M | -35.12M | -31.86M | -29.04M | -25.21M | -18.06M | 0 | 0 | -66.21M | -15.11M | -10.01M | -11.9M | -19.28M | -14.9M | -15.06M | -14.96M | -12.76M | -5.24M | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Share Repurchases | -154.23M | -151.23M | -67.08M | -79.79M | -204.31M | -161.65M | -51.04M | -61.69M | -203.82M | -123.72M | -47.15M | -126.35M | -59.67M | -47.91M | 0 | -10M | 28.38M | 0 | -92.97M | -32.66M | -86.3M | -11.69M | 0 | 0 | -26.43M | 0 | 0 | 0 | -39.9M | 0 | 0 |
| Other Financing | -1.28M | -388K | 994K | 3.27M | 9.86M | 63.29M | 124.68M | 64.58M | -1M | -1.93M | -337K | 9.96M | 7.87M | 7.66M | 21.06M | 34.91M | 30.24M | -472K | 1.67M | 241K | 1.41M | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 100K | 0 | 0 |
| Net Change in Cash | 123.21M | 76.83M | -16.56M | 21.28M | -4.79M | -82.91M | 97.64M | 63.22M | 1.63M | 26.94M | 27.67M | -3.72M | 15.05M | -4.52M | 7.06M | 4.9M | -86.63M | -7.31M | 22.99M | 16.78M | 14.51M | 18.59M | 4.29M | 15.36M | 29.2M | -11.27M | -5.74M | 20.9M | -10.4M | -10.1M | 24.5M |
| Free Cash Flow | 268.3M | 236.77M | 134.04M | 89.84M | 223.74M | 298.61M | 229.1M | 231.57M | 186.36M | 195.57M | 169.26M | 89.66M | 135.04M | 82.08M | 91.25M | 78.27M | 70.49M | 6.82M | 52.92M | 43.84M | 44.26M | 38.94M | 60.06M | 28.5M | 14.22M | 16.41M | 68.67M | 52M | 22.5M | 41.6M | 40.9M |
| FCF Margin % | 24.64% | 23.81% | 14.66% | 10.73% | 22.24% | 28.79% | 28.25% | 31.91% | 23.11% | 25.53% | 31.97% | 19.9% | 31.67% | 26.68% | 28.14% | 24.32% | 24.25% | 3.88% | 21.81% | 19.42% | 18.57% | 17.96% | 29.74% | 18.99% | 12.46% | 11.66% | 27.39% | 34.19% | 18.47% | 26.79% | 33.31% |
| FCF Growth % | 49.36% | 76.64% | 49.2% | -59.85% | -25.07% | 30.34% | -1.07% | 24.26% | -4.71% | 15.54% | 88.79% | -33.6% | 64.53% | -10.06% | 16.58% | 11.04% | 934.05% | -87.12% | 20.73% | -0.94% | 13.64% | -35.16% | 110.71% | 100.45% | -13.38% | -76.1% | 32.06% | 131.11% | -45.91% | 1.71% | 261.95% |
| FCF per Share | 1.58 | 1.40 | 0.78 | 0.52 | 1.28 | 1.66 | 1.30 | 1.32 | 1.05 | 1.09 | 0.97 | 0.51 | 0.76 | 0.46 | 0.52 | 0.46 | 0.44 | 0.04 | 0.32 | 0.25 | 0.24 | 0.20 | 0.32 | 0.16 | 0.08 | 0.09 | 0.38 | 0.30 | 0.13 | 0.23 | 0.23 |
| FCF Conversion (FCF/Net Income) | 1.53x | 2.15x | 1.40x | 1.00x | 1.13x | 1.12x | 1.38x | 1.24x | 1.02x | 1.27x | 1.27x | 0.63x | 1.28x | 1.30x | 1.49x | 1.23x | 1.24x | -2.52x | 2.16x | 1.80x | 1.22x | 1.20x | 1.67x | 1.94x | -2.73x | -1.88x | 1.12x | 1.82x | 1.47x | 1.30x | 1.68x |
| Interest Paid | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Taxes Paid | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Quick answers to the most common questions about buying CGNX stock.
Cognex Corporation (CGNX) generated $245.5M in net cash from operating activities in 2025. This reflects the cash generated directly from core business operations.
Cognex Corporation (CGNX) generated $236.8M in free cash flow in 2025. Free cash flow is the cash left over after capital expenditures, which can be used to pay dividends, repurchase shares, or pay down debt.
Cognex Corporation (CGNX) spent $8.7M on capital expenditures in 2025. CapEx represents the cash invested in physical assets like property, plant, and equipment to maintain or grow the business.
In 2025, Cognex Corporation (CGNX) returned $54.6M to shareholders via cash dividends and spent $151.2M on share repurchases. This shows the company's commitment to returning capital to its equity investors.
Key Metrics
Top Statement Risk
Demand normalization after record quarter
Metrics are mathematically derived from official filings.
Earnings Quality Diverges in Q2
In Q2 2026, operating cash flow of $69.2M fell short of net income of $72.8M, yielding an OCF/NI ratio of 0.95, per the cash flow statement, suggesting a temporary working capital drag.
The sub-1.0 OCF/NI ratio in Q2 2026 appears driven by a $22.5M working capital outflow, likely reflecting receivables growth on record revenue. However, this is an isolated quarter; the trailing four quarters show cumulative OCF exceeding net income by a wide margin, indicating that the conversion gap is timing-related rather than a structural earnings quality issue. Investors should monitor whether working capital absorption persists as revenue growth continues.
FCF Momentum Accelerates Sharply
Free cash flow surged to $67.6M in Q2 2026, a 67% increase year-over-year, with FCF margin expanding to 23.2% from 9.7% in Q2 2024, based on reported cash flow data.
The FCF trajectory is clearly accelerating, driven by record revenue and disciplined cost control, with FCF margins more than doubling from the prior year. The gap between FCF and net income has narrowed, as FCF now represents 93% of net income, up from 64% in Q2 2024, indicating improved cash conversion. This trend supports the view that the company's operating leverage is translating into cash generation, though sustainability depends on maintaining revenue growth.
Asset-Light Model Keeps Capex Minimal
Capital expenditures averaged just 1.1% of revenue over the past year, with Q2 2026 capex of $1.5M representing only 0.5% of revenue, as per the cash flow statement, underscoring the software-centric business model.
Capex intensity is exceptionally low, reflecting a business that relies on R&D rather than heavy physical assets. This suggests that most of the company's investments are expensed through R&D, which is visible in the income statement, rather than capitalized. The minimal capex requirement means that operating cash flow largely converts to free cash flow, providing ample flexibility for capital returns and strategic acquisitions.
Working Capital Swings Reflect Lumpy Demand
Working capital changes swung from a $10.8M inflow in Q4 2025 to a $22.5M outflow in Q2 2026, per the cash flow data, indicating that revenue timing and customer payment patterns drive quarterly volatility.
The working capital volatility is consistent with the company's lumpy revenue profile, particularly in large logistics and electronics orders. The Q2 2026 outflow may indicate that receivables grew faster than revenue, possibly due to extended payment terms or a concentration of shipments late in the quarter. While this is not alarming given the strong cash position, investors should watch for a pattern of persistent outflows that could signal deteriorating collection efficiency.
Buybacks and Acquisitions Shape Returns
Share repurchases totaled $99.0M in Q1 2026, the largest quarterly buyback in the period, while dividends remained steady at ~$14M per quarter, according to the cash flow statement, indicating a balanced capital return approach.
The company has been actively returning capital, with buybacks varying significantly quarter to quarter—ranging from $175K in Q2 2025 to $99M in Q1 2026—suggesting opportunistic repurchases. The acquisition of Moritex is reflected in the $11.5M net acquisition outflow in Q1 2026, which appears to be a strategic investment in optical capabilities. With a fortress balance sheet and minimal debt, the company has ample capacity to continue both buybacks and M&A, though the timing of large repurchases may be influenced by valuation.
Cumulative Cash Generation Outpaces Earnings
Over the last ten quarters, cumulative operating cash flow of $508.9M exceeded cumulative net income of $345.1M by 47%, based on the cash flow data, indicating conservative earnings quality.
The persistent excess of operating cash flow over net income suggests that reported earnings understate the company's cash-generating ability, likely due to non-cash charges like depreciation and stock-based compensation. This divergence is a positive signal, as it implies that the company's earnings are backed by real cash inflows. However, the gap has narrowed in recent quarters as net income has surged, so investors should monitor whether this convergence continues or reverses.
What Could Invalidate the Base Case
Despite robust cash generation, the Q2 2026 OCF/NI ratio of 0.95 and a $22.5M working capital outflow, per the cash flow statement, may signal that earnings quality is weakening if the trend persists.
The strong cash flow narrative relies on the assumption that working capital swings are temporary and that revenue growth will continue. However, the Q2 2026 working capital outflow, combined with management's guidance implying a sequential revenue decline, could indicate that the company is building inventory or extending credit to sustain growth. If working capital absorption continues, operating cash flow may lag net income, and the quality of earnings could deteriorate. Investors should monitor whether the OCF/NI ratio remains below 1.0 in upcoming quarters, as this would challenge the current bullish cash flow outlook.