<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2024-09-30</periodOfReport>

    <noSecuritiesOwned>1</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001800392</issuerCik>
        <issuerName>MicroAlgo Inc.</issuerName>
        <issuerTradingSymbol>MLGO</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001851815</rptOwnerCik>
            <rptOwnerName>SBI Securities Co., Ltd.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>IZUMI GARDEN TOWER</rptOwnerStreet1>
            <rptOwnerStreet2>1-6-1 ROPPONGI MINATO-KU</rptOwnerStreet2>
            <rptOwnerCity>TOKYO</rptOwnerCity>
            <rptOwnerState>M0</rptOwnerState>
            <rptOwnerZipCode>1066019</rptOwnerZipCode>
            <rptOwnerStateDescription>JAPAN</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <otherText>See Remarks</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <remarks>This statement is being filed by SBI Securities Co., Ltd. (the &quot;Reporting Person&quot;).The Reporting Person disclaims beneficial ownership of the securities reported herein
except to the extent of its pecuniary interest therein.On September30, 2024, the eporting Person experienced an increase in its beneficial ownership of MicroAlgo Inc.(the &quot;Issuer&quot;)
to above 10% of the outstanding common stock of the Issuer due to a securities borrow transaction.</remarks>

    <ownerSignature>
        <signatureName>Masato Takamura</signatureName>
        <signatureDate>2024-10-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
