Film Tax Credit Calculator
π Live Demo: https://glowing-starburst-471b3d.netlify.app
A comprehensive web application for calculating film tax credits and incentives across all 50 US states. This tool helps film producers, production companies, and industry professionals estimate potential tax benefits for their projects.
Inspiration
A film project that required me to look into multiple states' film tax incentives sent me on the rabbit hole to try and find a comprehensive calculator to help estimate budget reimbursements for film projects. I could not find one, and so I decided at the last minute to use this weekend to use this devhack challenge to build one.
What it does
The Film Tax Credit Calculator provides a comprehensive solution for film industry professionals to navigate the complex landscape of state tax incentives:
- Multi-State Support: Calculate tax credits for 47+ states with active film incentive programs
- Production Type Filtering: Filter states by production type (feature films, TV series, commercials, documentaries, etc.)
- Dynamic Budget Management: Flexible budget category input with above-the-line/below-the-line classification
- State-Specific Rules: Handles unique requirements like Kentucky's enhanced vs. non-enhanced counties, Illinois's economically disadvantaged area uplifts, and Tennessee's multi-tier minimum spend requirements
- Bonus Credit Calculation: Automatic calculation of available bonus incentives for hiring local crew, using local vendors, or filming in specific areas
- Real-Time Results: Instant tax credit estimates with detailed breakdowns and comprehensive program warnings
The tool supports complex state-specific features including:
- Kentucky: Enhanced vs. non-enhanced county selection with resident/non-resident payroll tracking
- Illinois: Economically disadvantaged areas uplift with compensation caps
- Tennessee: Multi-tier minimum spend requirements for different production types
- New Mexico: Differentiated rates for resident vs. non-resident crew
How we built it
Technology Stack
- Frontend: React 18 with TypeScript for type-safe development
- Build Tool: Vite for fast development and optimized production builds
- Styling: Tailwind CSS for utility-first responsive design
- Icons: Lucide React for consistent iconography
- Deployment: Netlify with automatic builds
Architecture
- Modular Calculator System: Created state-specific calculator classes inheriting from a base
StandardCalculator - JSON Data Store: Comprehensive state program data with 47+ state configurations
- Type-Safe Interfaces: Full TypeScript coverage for data structures and API contracts
- Component-Based UI: Reusable components for different input types and state requirements
Project Structure
src/
βββ components/ # Reusable UI components
βββ calculators/ # State-specific calculation logic
βββ data/ # State program data and metadata
βββ types/ # TypeScript type definitions
βββ utils/ # Utility functions for formatting and filtering
βββ App.tsx # Main application component
Challenges we ran into
1. Complex State-Specific Tax Credit Rules
Each state has unique tax credit structures, rates, caps, and eligibility requirements. Kentucky has different rates for enhanced vs. non-enhanced counties, while Illinois has compensation caps and economically disadvantaged area uplifts.
Solution: Implemented a modular calculator architecture with base functionality and state-specific extensions, plus comprehensive warning systems.
2. Production Type Eligibility Mapping
States use inconsistent terminology for production types, making it difficult to filter eligible states accurately.
Solution: Created a sophisticated mapping system with normalized production type mappings and flexible matching algorithms.
3. Dynamic Budget Input Requirements
Different states require different budget breakdowns - Kentucky needs resident vs. non-resident amounts, while others need above-the-line vs. below-the-line distinctions.
Solution: Built conditional budget input components that render based on state selection and requirements.
4. Minimum Spend Threshold Complexity
Tennessee has three different minimum spend thresholds ranging from $50,000 to $500,000 depending on production type.
Solution: Built intelligent eligibility checking with multi-tier threshold validation and automatic program selection.
5. Data Management and Accuracy
Maintaining accurate, up-to-date information for 47+ state programs with frequent legislative changes.
Solution: Structured individual JSON files for each state with standardized schemas and legislative source tracking.
Accomplishments that we're proud of
- Comprehensive Coverage: Successfully implemented calculators for 47+ states with active film incentive programs
- Complex Logic Handling: Built a system that accurately handles state-specific rules, from Kentucky's county-based rates to Illinois's compensation caps
- User Experience: Created an intuitive, step-by-step workflow that makes complex tax calculations accessible
- Data Accuracy: Compiled and structured comprehensive data from official state sources with direct legislative references
- Performance: Achieved fast load times and responsive interactions despite handling large datasets
What we learned
- State Tax Incentive Complexity: Gained deep understanding of how varied and complex state film incentive programs can be
- Modular Architecture Benefits: Learned the importance of building extensible systems when dealing with diverse requirements
- Data Normalization Challenges: Experienced firsthand the difficulties of standardizing inconsistent government data
- User Experience for Complex Tools: Discovered how to balance comprehensive functionality with usable interfaces
- TypeScript for Complex Business Logic: Appreciated how type safety prevents errors in intricate calculation systems
What's next for Film Tax Credit Calculator
Short-term Enhancements
- Historical Data Tracking: Add features to track program changes over time
- Comparison Tools: Build side-by-side state comparison functionality
- Export Capabilities: Add PDF/CSV export for reports and documentation
- User Accounts: Implement project saving and management features
- Information Accuracy Check: Each state has different rules and there was no way for me to fully test everything, so that's next!
Long-term Vision
- Mobile App: Develop native mobile applications for on-location calculations
- Advanced Analytics: Add trend analysis and recommendation engines
- International Expansion: Extend coverage to international film incentive programs
- Industry Integration: Partner with production companies and tax professionals for enhanced accuracy
Data & Accuracy Improvements
- Real-time Updates: Implement automated monitoring of state program changes
- Professional Verification: Establish partnerships with tax professionals for data validation
- User Feedback System: Build mechanisms for industry professionals to report updates and corrections
Built with β€οΈ for the film industry
Helping producers navigate the complex landscape of state film incentives with confidence and accuracy.
Built With
- html
- tailwind
- typescript
Log in or sign up for Devpost to join the conversation.