diff --git a/inc/JpegMeta.php b/inc/JpegMeta.php
index 885f565e2f5fe749e518f51de06fd848720c849f..1b57ccd05974be933229eff96e8c85a74b771855 100644
--- a/inc/JpegMeta.php
+++ b/inc/JpegMeta.php
@@ -1205,7 +1205,7 @@ class JpegMeta
                 $this->_info['file']['NiceSize'] = round($this->_info['file']['Size'] / 1024) . 'KB';
             }
             elseif ($this->_info['file']['Size'] < (1024 * 1024 * 1024)) {
-                $this->_info['file']['NiceSize'] = round($this->_info['file']['Size'] / 1024) . 'MB';
+                $this->_info['file']['NiceSize'] = round($this->_info['file']['Size'] / (1024*1024)) . 'MB';
             }
             else {
                 $this->_info['file']['NiceSize'] = $this->_info['file']['Size'] . 'B';