Yes it's possible. MySQL provides math operator functionality in the queries, or you can use the PHP math operators to do your calculations... Best to start digging into the MySQL and PHP manuals. Once you gett some ideas and code together, feel free to come back and post for help if you need it. If you need help getting started, we can help there too.