HitRateCalc is an iOS app that helps players of the mobile game Final Fantasy Brave Exvius: War of the Visions determine the accuracy and evasion rates of their units. The app allows users to input dexterity, luck, and accuracy bonus values to calculate accuracy, and agility, luck, and evade bonus values to calculate evasion. The app then combines the two rates to display the final hit-rate, or the chance of evading an attack. This app is a useful tool for players looking to optimize their unit’s performance in battle.


HitRateCalc was built using SwiftUI (iOS 16 minimum deployment) and uses an ‘MVVM’ design pattern. The app consists of 4 primary modules:


Just contains the entrance to the app.


Contains all SwiftUI views as well as any ViewModifiers and extensions to View.


This is what I call my ‘View Models’. HitRateDataModel acts as a view model for the main view (ContentView), and the SettingsDataModel is for SettingsView.


The star file of this app is HitRateCalculator. It is responsible for performing the calculations to determine accuracy/evasion rates. The logic used was derived from this YouTube Video.

(NOTE: I have no affiliation with its creator, though I have to say I enjoy the content contained on that channel.)


HitRateCalc is not affiliated with or endorsed by Square Enix or gumi Inc. Final Fantasy Brave Exvius: War of the Visions is a registered trademark of Square Enix.


Any contributions from the community is certainly welcome. If you have any features or bug fixes to suggest, please submit a pull request.



HitRateCalc is available for download on the AppStore.


HitRateCalc is licensed under the MIT License.


View Github