Thank you Jason for a detailed explanation.
I'm not a math person, so it helps.
The reason why I said 177600 = 178 kb is because that is how my laptop is showing when I check the file info for this particular image, though it shows 177600 in the database after inserted from my insert.php.
Now you showed me the calculation, I need to ask you how to add this calculation to the process of inserting images to database (this is what I really wanted to know to start with). I will have lots of images to insert, so possibly I want some coding to take care of this.