diff --git a/core/server/master/src/main/java/alluxio/master/metastore/caching/StatsCounter.java b/core/server/master/src/main/java/alluxio/master/metastore/caching/StatsCounter.java
index <HASH>..<HASH> 100644
--- a/core/server/master/src/main/java/alluxio/master/metastore/caching/StatsCounter.java
+++ b/core/server/master/src/main/java/alluxio/master/metastore/caching/StatsCounter.java
@@ -36,7 +36,7 @@ final class StatsCounter {
     mEvictionCount = MetricsSystem.counter(evictionsKey.getName());
     MetricsSystem.registerGaugeIfAbsent(MASTER_INODE_CACHE_HIT_RATIO.getName(),
         () -> mHitCount.getCount() * 1.0
-            / mHitCount.getCount() + mMissCount.getCount());
+            / (mHitCount.getCount() + mMissCount.getCount()));
   }
 
   /**
Fix incorrect calc of cacheHitRatio

### What changes are proposed in this pull request?

Bug Fix

### Why are the changes needed?

fix cacheHitRatio calculation

### Does this PR introduce any user facing changes?

No

pr-link: Alluxio/alluxio#<I>
change-id: cid-e<I>ccba<I>d8f<I>c1ca<I>d<I>a<I>cf8c<I>ae8