Choose pfSense CE if…
You can deploy Self-installed on x86-64 hardware or virtualized (VMware, Proxmox, Hyper-V, KVM); Netgate appliances ship with pfSense Plus (Netgate's commercial edition) rather than CE.
Free / OSS licensing fits your budget — Free Community Edition (Apache 2.0); Netgate appliances ship with pfSense Plus and range from $289 (Netgate 1100) to $7,299 (Netgate 8300 TAA); pfSense Plus software subscriptions $129-$799 per instance/yr (TAC Lite/Pro/Enterprise).
You prioritise Free open source under Apache 2.0, broad feature set (stateful firewall, VPNs (IPsec/OpenVPN/WireGuard), traffic shaping, multi-WAN, captive portal, VLAN, dynamic DNS), large community knowledge base, deployable on commodity hardware.
Choose Fortinet FortiGate if…
You can deploy FortiGate hardware appliances (extensive model range), virtual (VM), or cloud (AWS, Azure, GCP, OCI).
Paid licensing fits your budget — Fortinet does not publish list pricing; quote via partners. Hardware spans entry FortiGate 30G/40F/50G to data-center FortiGate 7000F series (7081F, 7121F). FortiGuard bundles (ATP, UTP, Enterprise; each higher tier includes the lower) and FortiCare support are sold as per-device subscriptions.
You prioritise Broad appliance model range covering SOHO to data center; purpose-built FortiASIC security processors deliver strong price/performance; FortiGuard bundles (ATP, UTP, Enterprise) combine IPS, antivirus, sandboxing, URL/DNS filtering, application control and more; tight integration with Fortinet Security Fabric (FortiAnalyzer, FortiManager, FortiSIEM, FortiEDR).