DerrickHodge/green_cosmetics
0
Skincare Product Pricing Calculator
A user-friendly web application built with Gradio that helps calculate pricing, costs, and profit margins for skincare product manufacturing.
Features
- Calculate production costs and pricing for skincare products
- Input customization for all ingredients and their prices
- Automatic calculation of:
- Number of jars produced
- Total material costs
- Labor costs
- Cost per jar
- Suggested retail prices
- Revenue and profit projections
- Profit margins
- Multiple pricing tier suggestions (Economy, Standard, Premium)
- Real-time updates as you adjust values
Installation
- Clone this repository:
git clone https://github.com/yourusername/skincare-pricing-calculator.git
cd skincare-pricing-calculator- Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activate- Install the required packages:
pip install -r requirements.txtUsage
- Run the application:
python app.py- Open your web browser and navigate to the URL shown in the terminal (typically http://127.0.0.1:7860)
- Use the interface to:
- Input ingredient quantities and prices
- Set production parameters (labor rate, hours, jar costs)
- Adjust markup multiplier
- View calculated results and pricing tiers
Default Values
The calculator comes with these preset values:
Ingredients
- Shea Butter: 7 lbs at $30.45
- Kokum Butter: 14 oz at $9.90
- Vitamin E Oil: 2 oz at $4.45
- Hyaluronic Acid: 2 oz at $12.00
- Glycerin: 16 oz at $11.40
- Beeswax: 1 lb at $15.00
Production Settings
- Jar Cost: $40 per 40 jars
- Labor Rate: $15 per hour
- Production Time: 2.5 hours
- Default Markup: 3.0x
- Jar Size: 4 oz
Customization
All values can be adjusted through the user interface. The application automatically recalculates results when any value is changed.
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support, please open an issue in the GitHub repository or contact [your contact information].
Acknowledgments
- Built with Gradio
- Inspired by small business needs in the skincare industry
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
